diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-23 09:30:47 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-24 08:57:57 +0000 |
commit | 0c37eeebb0ecbe68fdf8051f627ef1e4929fc5dd (patch) | |
tree | 1970990d2a0e650f952bd4f9e229da71cc808828 /bridges | |
parent | f62324cecd93ff2a6019c54b5cd85c83ff672e04 (diff) |
Java cleanup, use generic containers where possible
Change-Id: Icd830004de3e121f5b96393e7d7b447775833419
Reviewed-on: https://gerrit.libreoffice.org/3569
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/test/java_uno/equals/TestEquals.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java index bc79835dc67c..515c8e496f87 100644 --- a/bridges/test/java_uno/equals/TestEquals.java +++ b/bridges/test/java_uno/equals/TestEquals.java @@ -115,7 +115,7 @@ public final class TestEquals { } } - private final HashMap map = new HashMap(); + private final HashMap<String,Object> map = new HashMap<String,Object>(); } private final class Done implements XDone { @@ -160,7 +160,7 @@ public final class TestEquals { UnoRuntime.queryInterface( XDerived.class, test2Aa); - Hashtable params = new Hashtable(); + Hashtable<String,String> params = new Hashtable<String,String>(); params.put("UNO_TYPES", unoTypes); params.put("UNO_SERVICES", unoServices); XComponentContext context = Bootstrap. |