diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 16:22:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:01 +0200 |
commit | b707a707aae71f3e05dc096d8de14d2509e2b62f (patch) | |
tree | ea82bdb32f10a89fdd8c3c64596a179602c84466 /qadevOOo/runner/util/utils.java | |
parent | 8cd0fc50aa895d5c1588623a7675dd5679752379 (diff) |
Java cleanup - remove unused local variables
Change-Id: Ied9c8635cde96d2d00d66a68cd8387799455c2ec
Diffstat (limited to 'qadevOOo/runner/util/utils.java')
-rw-r--r-- | qadevOOo/runner/util/utils.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index c584db16eaa0..8e9f4fa7a2f4 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -313,7 +313,6 @@ public class utils { public static void setOfficeSettingsValue(XMultiServiceFactory msf, String setting, String value) { - String settingPath = null; try { Object settings = msf.createInstance("com.sun.star.comp.framework.PathSettings"); XPropertySet pthSettings = null; @@ -661,9 +660,7 @@ public class utils { continue; } try { - // now trying to establish a client-socket - // fails if there is no server on any connectable machine - Socket sock = new Socket("localhost", port); + new Socket("localhost", port); System.out.println(" -> socket: occupied port: " + port); } catch (IOException e) { System.out.println(" -> free port"); |