From d3394e13eef56d255d0a1852a92f432c31e4f6ec Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Fri, 8 Feb 2019 09:39:46 +0100 Subject: Immediately return this expression instead of assigning it to the temporary variable in the main launcher Change-Id: I7a1293d660b19f6a5da16143c09bcd1009772b15 Signed-off-by: Lars Vogel --- .../src/org/eclipse/equinox/launcher/Main.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bundles') 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); } /** -- cgit v1.2.3