Fixed warning about implicit boxing to Java Object.

This commit is contained in:
Philipp Wiesemann 2014-08-12 23:33:16 +02:00
parent cfaa99bb56
commit 197a7cae5f
1 changed files with 2 additions and 2 deletions

View File

@ -549,8 +549,8 @@ public class SDLActivity extends Activity {
public InputStream openAPKExtensionInputStream(String fileName) throws IOException { public InputStream openAPKExtensionInputStream(String fileName) throws IOException {
// Get a ZipResourceFile representing a merger of both the main and patch files // Get a ZipResourceFile representing a merger of both the main and patch files
if (expansionFile == null) { if (expansionFile == null) {
Integer mainVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION")); Integer mainVersion = Integer.valueOf(nativeGetHint("SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"));
Integer patchVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION")); Integer patchVersion = Integer.valueOf(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"));
try { try {
// To avoid direct dependency on Google APK extension library that is // To avoid direct dependency on Google APK extension library that is