]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/AboutActivity.java
Fix some code inspection warnings.
[Dictionary.git] / src / com / hughes / android / dictionary / AboutActivity.java
index d6a5c1d06300c1fe13ea6d726ca3082da0c3968c..2f1ee139b478be23628d1b377b67414ae58f1fe5 100644 (file)
@@ -22,8 +22,6 @@ import android.widget.TextView;
 
 public final class AboutActivity extends Activity {
 
-    public static final String CURRENT_DICT_INFO = "currentDictInfo";
-
     /** Called when the activity is first created. */
     @Override
     public void onCreate(final Bundle savedInstanceState) {
@@ -39,9 +37,9 @@ public final class AboutActivity extends Activity {
                 PackageInfo p = pm.getPackageInfo(getPackageName(), 0);
                 ver = p.versionName + " (ID " + p.versionCode + ")";
             }
-        } catch (Exception e) {
+        } catch (Exception ignored) {
         }
-        TextView titleView = (TextView)findViewById(R.id.titleText);
+        TextView titleView = findViewById(R.id.titleText);
         titleView.setText("QuickDic " + ver);
     }