Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-02-08 08:39:46 +0000
committerLars Vogel2019-02-08 12:48:31 +0000
commitd3394e13eef56d255d0a1852a92f432c31e4f6ec (patch)
tree0b3344bc379451fb5c0c03afd6448a56bcbe2927
parentc6f5cbfa16d4e92687cc775fd03d934142aa16ef (diff)
downloadrt.equinox.framework-d3394e13eef56d255d0a1852a92f432c31e4f6ec.tar.gz
rt.equinox.framework-d3394e13eef56d255d0a1852a92f432c31e4f6ec.tar.xz
rt.equinox.framework-d3394e13eef56d255d0a1852a92f432c31e4f6ec.zip
Immediately return this expression instead of assigning it to the
temporary variable in the main launcher Change-Id: I7a1293d660b19f6a5da16143c09bcd1009772b15 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 46186d271..1663df278 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -1410,8 +1410,7 @@ public class Main {
}
if (hashCode < 0)
hashCode = -(hashCode);
- String installDirHash = String.valueOf(hashCode);
- return installDirHash;
+ return String.valueOf(hashCode);
}
/**

Back to the top