tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1382305 - /tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java
Date Sat, 08 Sep 2012 13:51:44 GMT
Author: markt
Date: Sat Sep  8 13:51:44 2012
New Revision: 1382305

URL: http://svn.apache.org/viewvc?rev=1382305&view=rev
Log:
Clean-up Java 7 <>

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java?rev=1382305&r1=1382304&r2=1382305&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java Sat Sep  8 13:51:44
2012
@@ -56,7 +56,7 @@ public class StandardJarScanner implemen
 
     private static final Log log = LogFactory.getLog(StandardJarScanner.class);
 
-    private static final Set<String> defaultJarsToSkip = new HashSet<String>();
+    private static final Set<String> defaultJarsToSkip = new HashSet<>();
 
     /**
      * The string resources for this package.
@@ -135,7 +135,7 @@ public class StandardJarScanner implemen
         } else {
             ignoredJars = jarsToSkip;
         }
-        Set<String[]> ignoredJarsTokens = new HashSet<String[]>();
+        Set<String[]> ignoredJarsTokens = new HashSet<>();
         for (String pattern: ignoredJars) {
             ignoredJarsTokens.add(Matcher.tokenizePathAsArray(pattern));
         }



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


Mime
View raw message