commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1663177 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrLookupTest.java
Date Sun, 01 Mar 2015 23:18:33 GMT
Author: sebb
Date: Sun Mar  1 23:18:33 2015
New Revision: 1663177

URL: http://svn.apache.org/r1663177
Log:
Generics

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrLookupTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrLookupTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrLookupTest.java?rev=1663177&r1=1663176&r2=1663177&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrLookupTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrLookupTest.java
Sun Mar  1 23:18:33 2015
@@ -58,12 +58,12 @@ public class StrLookupTest  {
         final String osName = "os.name";
         final String originalOsName = System.getProperty(osName);
 
-        StrLookup properties1 = StrLookup.systemPropertiesLookup();
+        StrLookup<String> properties1 = StrLookup.systemPropertiesLookup();
         assertEquals(originalOsName, properties1.lookup(osName));
 
         final String differentOsName = "HAL-9000";
         System.setProperty(osName, differentOsName);
-        StrLookup properties2 = StrLookup.systemPropertiesLookup();
+        StrLookup<String> properties2 = StrLookup.systemPropertiesLookup();
 
         assertEquals(originalOsName, properties1.lookup(osName));
         assertEquals(differentOsName, properties2.lookup(osName));



Mime
View raw message