james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r800687 - /james/jsieve/trunk/main/src/test/java/org/apache/jsieve/ConfigurationManagerTest.java
Date Tue, 04 Aug 2009 06:57:00 GMT
Author: rdonkin
Date: Tue Aug  4 06:57:00 2009
New Revision: 800687

URL: http://svn.apache.org/viewvc?rev=800687&view=rev
Log:
JSIEVE-53 Generification https://issues.apache.org/jira/browse/JSIEVE-53

Modified:
    james/jsieve/trunk/main/src/test/java/org/apache/jsieve/ConfigurationManagerTest.java

Modified: james/jsieve/trunk/main/src/test/java/org/apache/jsieve/ConfigurationManagerTest.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/main/src/test/java/org/apache/jsieve/ConfigurationManagerTest.java?rev=800687&r1=800686&r2=800687&view=diff
==============================================================================
--- james/jsieve/trunk/main/src/test/java/org/apache/jsieve/ConfigurationManagerTest.java
(original)
+++ james/jsieve/trunk/main/src/test/java/org/apache/jsieve/ConfigurationManagerTest.java
Tue Aug  4 06:57:00 2009
@@ -38,7 +38,7 @@
      * correct classes.
      */
     public void testCommandMap() {
-        Map map = new HashMap();
+        Map<String, String> map = new HashMap<String, String>();
         // Condition Commands
         // RFC3082 - Implementations MUST support these:
         map.put("if", "org.apache.jsieve.commands.If");
@@ -79,7 +79,7 @@
      * correct classes.
      */
     public void testTestMap() {
-        Map map = new HashMap();
+        Map<String, String> map = new HashMap<String, String>();
 
         // RFC3082 - Implementations MUST support these tests:
         map.put("address", "org.apache.jsieve.tests.Address");
@@ -118,7 +118,7 @@
      * to the correct classes.
      */
     public void testComparatorMap() {
-        Map map = new HashMap();
+        Map<String, String> map = new HashMap<String, String>();
 
         // RFC3082 - Required Comparators
         map.put("i;octet", "org.apache.jsieve.comparators.Octet");



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message