diff options
author | Jose Luis Marti <joseluis.marti@gmail.com> | 2024-03-18 00:06:21 +0100 |
---|---|---|
committer | Jose Luis Marti <joseluis.marti@gmail.com> | 2024-03-18 00:06:21 +0100 |
commit | e59b9fee7f72957c79dbd511a9ab47603b18f5a0 (patch) | |
tree | ba4476e330363e41aca7884b6b29bab5cd389304 /tools/android | |
parent | 128939b577d9d717d9ca52aa5c40f8799b077753 (diff) |
Remove redundant castings
Diffstat (limited to 'tools/android')
-rw-r--r-- | tools/android/packaging/xbmc/src/Splash.java.in | 6 |
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) { |