summaryrefslogtreecommitdiff
path: root/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-20 17:05:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-20 19:04:33 +0100
commit8bfe47960f60e1dc2e6bcf0f3c3f7e43dfd3fc0b (patch)
tree12399f5232ff90f000bb58e213629140e564f0ce /javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
parentf906ac27761332580b769f5f90d1f6bbd7f93701 (diff)
Java5 updates - convert to generics
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
Diffstat (limited to 'javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java')
-rw-r--r--javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java b/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
index 7c31d134d79f..1a28a77f84f2 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
@@ -31,11 +31,11 @@ import java.util.Hashtable;
public class ComponentContext_Test {
public static void main(String args[]) {
try {
- Hashtable table = new Hashtable();
+ Hashtable<String,Object> table = new Hashtable<String,Object>();
table.put( "bla1", new ComponentContextEntry( null, new Integer( 1 ) ) );
XComponentContext xInitialContext = Bootstrap.createInitialComponentContext( table );
- table = new Hashtable();
+ table = new Hashtable<String,Object>();
table.put( "bla2", new ComponentContextEntry( new Integer( 2 ) ) );
table.put( "bla3", new Integer( 3 ) );
XComponentContext xContext = new ComponentContext( table, xInitialContext );