Comparing Strings with equals() instead of ==

Change-Id: I63470e912becaec7be5fe74f77c7f5c49a5e70c7
This commit is contained in:
alex.ryazantsev
2013-11-10 05:06:15 +04:00
parent 753245fd76
commit 962540cd91
2 changed files with 2 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ public final class GerritLauncher {
try {
path = getDistributionArchive();
} catch (FileNotFoundException e) {
if (NOT_ARCHIVED == e.getMessage()) {
if (NOT_ARCHIVED.equals(e.getMessage())) {
// Assume the CLASSPATH was made complete by the calling process,
// as we are likely being run from within a developer's IDE.
//