Comparing Strings with equals() instead of ==
Change-Id: I63470e912becaec7be5fe74f77c7f5c49a5e70c7
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
Reference in New Issue
Block a user