aboutsummaryrefslogtreecommitdiff
path: root/tools/android
diff options
context:
space:
mode:
authorJose Luis Marti <joseluis.marti@gmail.com>2024-03-18 00:06:21 +0100
committerJose Luis Marti <joseluis.marti@gmail.com>2024-03-18 00:06:21 +0100
commite59b9fee7f72957c79dbd511a9ab47603b18f5a0 (patch)
treeba4476e330363e41aca7884b6b29bab5cd389304 /tools/android
parent128939b577d9d717d9ca52aa5c40f8799b077753 (diff)
Remove redundant castings
Diffstat (limited to 'tools/android')
-rw-r--r--tools/android/packaging/xbmc/src/Splash.java.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/android/packaging/xbmc/src/Splash.java.in b/tools/android/packaging/xbmc/src/Splash.java.in
index 4a36fa5c47..b3ecc97e53 100644
--- a/tools/android/packaging/xbmc/src/Splash.java.in
+++ b/tools/android/packaging/xbmc/src/Splash.java.in
@@ -298,7 +298,7 @@ public class Splash extends Activity
// Update the progress bar
publishProgress(++mProgressStatus);
- ZipEntry e = (ZipEntry) entries.nextElement();
+ ZipEntry e = entries.nextElement();
String sName = e.getName();
if (!sName.startsWith("assets/"))
@@ -673,8 +673,8 @@ public class Splash extends Activity
}
setContentView(R.layout.activity_splash);
- mProgress = (ProgressBar) findViewById(R.id.progressBar1);
- mTextView = (TextView) findViewById(R.id.textView1);
+ mProgress = findViewById(R.id.progressBar1);
+ mTextView = findViewById(R.id.textView1);
if (mState == InError || mState == CheckingPermissionsInfo)
{