Fixed warning about implicit boxing to Java Object.
authorPhilipp Wiesemann
Tue, 12 Aug 2014 23:33:16 +0200
changeset 9056ea1cf964841f
parent 9055 868b523403e0
child 9057 8a1d9a60f9be
Fixed warning about implicit boxing to Java Object.
android-project/src/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Tue Aug 12 23:28:45 2014 +0200
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Tue Aug 12 23:33:16 2014 +0200
     1.3 @@ -549,8 +549,8 @@
     1.4      public InputStream openAPKExtensionInputStream(String fileName) throws IOException {
     1.5          // Get a ZipResourceFile representing a merger of both the main and patch files
     1.6          if (expansionFile == null) {
     1.7 -            Integer mainVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"));
     1.8 -            Integer patchVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"));
     1.9 +            Integer mainVersion = Integer.valueOf(nativeGetHint("SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"));
    1.10 +            Integer patchVersion = Integer.valueOf(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"));
    1.11  
    1.12              try {
    1.13                  // To avoid direct dependency on Google APK extension library that is