Remove unnecessary variable initializations

This commit is contained in:
Daniel Martí 2015-10-23 13:11:18 +02:00
parent 927e05ba8d
commit 1a4c2ca408
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ public class RepoUpdater {
* fingerprint. In that case, check that fingerprint against what is
* actually in the index.jar itself. If no fingerprint, just store the
* signing certificate */
boolean trustNewSigningCertificate = false;
boolean trustNewSigningCertificate;
// If the fingerprint has never been set, it will be null (never "" or something else)
if (repo.fingerprint == null) {
// no info to check things are valid, so just Trust On First Use

View File

@ -209,7 +209,7 @@ public class PreferencesFragment extends PreferenceFragment
AlertDialog.Builder alertBuilder = new AlertDialog.Builder(getActivity());
alertBuilder.setTitle(R.string.system_install_denied_title);
String message = null;
String message;
switch (isInstalledCorrectly) {
case PrivilegedInstaller.IS_EXTENSION_INSTALLED_NO:
message = getActivity().getString(R.string.system_install_denied_body) +