summaryrefslogtreecommitdiff
path: root/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
diff options
context:
space:
mode:
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.java6
1 files changed, 3 insertions, 3 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 7847a86a26ec..7e2523f2db43 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/ComponentContext_Test.java
@@ -29,12 +29,12 @@ public class ComponentContext_Test {
public static void main(String args[]) {
try {
HashMap<String,Object> table = new HashMap<String,Object>();
- table.put( "bla1", new ComponentContextEntry( null, new Integer( 1 ) ) );
+ table.put( "bla1", new ComponentContextEntry( null, Integer.valueOf( 1 ) ) );
XComponentContext xInitialContext = Bootstrap.createInitialComponentContext( table );
table = new HashMap<String,Object>();
- table.put( "bla2", new ComponentContextEntry( new Integer( 2 ) ) );
- table.put( "bla3", new Integer( 3 ) );
+ table.put( "bla2", new ComponentContextEntry( Integer.valueOf( 2 ) ) );
+ table.put( "bla3", Integer.valueOf( 3 ) );
XComponentContext xContext = new ComponentContext( table, xInitialContext );
XMultiComponentFactory xSMgr = xContext.getServiceManager();