You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2013/09/08 21:03:51 UTC
svn commit: r1520900 -
/felix/trunk/ipojo/runtime/core-it/ipojo-core-configuration-admin-test/src/test/java/org/apache/felix/ipojo/runtime/core/TestUpdated.java
Author: clement
Date: Sun Sep 8 19:03:51 2013
New Revision: 1520900
URL: http://svn.apache.org/r1520900
Log:
Use dictionaries instead of properties.
Modified:
felix/trunk/ipojo/runtime/core-it/ipojo-core-configuration-admin-test/src/test/java/org/apache/felix/ipojo/runtime/core/TestUpdated.java
Modified: felix/trunk/ipojo/runtime/core-it/ipojo-core-configuration-admin-test/src/test/java/org/apache/felix/ipojo/runtime/core/TestUpdated.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/runtime/core-it/ipojo-core-configuration-admin-test/src/test/java/org/apache/felix/ipojo/runtime/core/TestUpdated.java?rev=1520900&r1=1520899&r2=1520900&view=diff
==============================================================================
--- felix/trunk/ipojo/runtime/core-it/ipojo-core-configuration-admin-test/src/test/java/org/apache/felix/ipojo/runtime/core/TestUpdated.java (original)
+++ felix/trunk/ipojo/runtime/core-it/ipojo-core-configuration-admin-test/src/test/java/org/apache/felix/ipojo/runtime/core/TestUpdated.java Sun Sep 8 19:03:51 2013
@@ -25,6 +25,8 @@ import org.osgi.framework.ServiceReferen
import org.osgi.service.cm.Configuration;
import java.io.IOException;
+import java.util.Dictionary;
+import java.util.Hashtable;
import java.util.Properties;
import static junit.framework.Assert.assertEquals;
@@ -38,7 +40,7 @@ public class TestUpdated extends Common
@Test
public void testNumberOfUpdatedCalls() throws IOException {
- Properties props = new Properties();
+ Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put("message", "message");
props.put("propagated", "propagated");
props.put(".private", "wow");
@@ -77,7 +79,7 @@ public class TestUpdated extends Common
@Test
public void testNumberOfUpdatedCallsWithManagedService() throws IOException {
- Properties props = new Properties();
+ Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put("message", "message");
props.put("propagated", "propagated");
props.put(".private", "wow");