summaryrefslogtreecommitdiff
path: root/jurt/test/com/sun
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-29 10:08:15 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:05 +0200
commitf9fa0dd66b830ff21c4a2dcd201151a4e9ca2de8 (patch)
tree1c1a421028cbef391af4f2886eac2677f75c5ee7 /jurt/test/com/sun
parent531a052bdc1eff3d66fd17ec6f7e9f373cbd1404 (diff)
Java5 updates - update code to use generics
This is all of the code I missed in my first set of patches. Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
Diffstat (limited to 'jurt/test/com/sun')
-rw-r--r--jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java2
-rw-r--r--jurt/test/com/sun/star/lib/uno/protocols/urp/TestBridge.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java b/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java
index 6b619b5b3b73..d92e368622c0 100644
--- a/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java
@@ -302,6 +302,6 @@ public final class Protocol_Test {
}
private final IProtocol protocol;
- private final LinkedList queue = new LinkedList();
+ private final LinkedList<Object> queue = new LinkedList<Object>();
}
}
diff --git a/jurt/test/com/sun/star/lib/uno/protocols/urp/TestBridge.java b/jurt/test/com/sun/star/lib/uno/protocols/urp/TestBridge.java
index 9a2ae19184fd..88f6aeefea00 100644
--- a/jurt/test/com/sun/star/lib/uno/protocols/urp/TestBridge.java
+++ b/jurt/test/com/sun/star/lib/uno/protocols/urp/TestBridge.java
@@ -30,7 +30,7 @@ import com.sun.star.uno.Type;
class TestBridge implements IBridge {
static public final boolean DEBUG = false;
- HashMap _hashtable = new HashMap();
+ final HashMap<String,Object> _hashtable = new HashMap<String,Object>();
IEnvironment _source ;//= new com.sun.star.lib.uno.environments.java.java_environment(null);