summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-03 15:03:19 +0200
committerNoel Grandin <noel@peralex.com>2013-05-06 11:45:53 +0200
commit8be40d31d78723debd47f671544f480c1c606db7 (patch)
tree0051888bb41793e4d65704a93a4cfc659119c8bc /bridges
parente527a340051b55a6f05d05f397d82ec797165163 (diff)
Java cleanup, convert Hashtable to HashMap
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
Diffstat (limited to 'bridges')
-rw-r--r--bridges/test/java_uno/equals/TestEquals.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java
index 515c8e496f87..abfe00882ce0 100644
--- a/bridges/test/java_uno/equals/TestEquals.java
+++ b/bridges/test/java_uno/equals/TestEquals.java
@@ -18,6 +18,12 @@
package test.java_uno.equals;
+import java.io.File;
+import java.net.MalformedURLException;
+import java.util.HashMap;
+
+import test.lib.TestBed;
+
import com.sun.star.bridge.XBridge;
import com.sun.star.bridge.XBridgeFactory;
import com.sun.star.bridge.XInstanceProvider;
@@ -33,11 +39,6 @@ import com.sun.star.loader.XImplementationLoader;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XComponentContext;
import com.sun.star.uno.XInterface;
-import java.io.File;
-import java.net.MalformedURLException;
-import java.util.HashMap;
-import java.util.Hashtable;
-import test.lib.TestBed;
// In this test scenario, the Java server (see implementation of method
// notifyAccepting) has a remote bridge to the Java client and a local JNI
@@ -160,7 +161,7 @@ public final class TestEquals {
UnoRuntime.queryInterface(
XDerived.class, test2Aa);
- Hashtable<String,String> params = new Hashtable<String,String>();
+ HashMap<String,String> params = new HashMap<String,String>();
params.put("UNO_TYPES", unoTypes);
params.put("UNO_SERVICES", unoServices);
XComponentContext context = Bootstrap.