Skip to content

Commit

Permalink
Fixed warning about implicit boxing to Java Object.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Aug 12, 2014
1 parent cfaa99b commit 197a7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -549,8 +549,8 @@ public static void pollInputDevices() {
public InputStream openAPKExtensionInputStream(String fileName) throws IOException {
// Get a ZipResourceFile representing a merger of both the main and patch files
if (expansionFile == null) {
Integer mainVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"));
Integer patchVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"));
Integer mainVersion = Integer.valueOf(nativeGetHint("SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"));
Integer patchVersion = Integer.valueOf(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"));

try {
// To avoid direct dependency on Google APK extension library that is
Expand Down

0 comments on commit 197a7ca

Please sign in to comment.