tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1741677 - /tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java
Date Fri, 29 Apr 2016 18:23:56 GMT
Author: markt
Date: Fri Apr 29 18:23:56 2016
New Revision: 1741677

URL: http://svn.apache.org/viewvc?rev=1741677&view=rev
Log:
Use longer lines to improve readability

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=1741677&r1=1741676&r2=1741677&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java Fri Apr 29 18:23:56
2016
@@ -243,8 +243,7 @@ public class StandardJarScanner implemen
                                         getJarScanFilter().check(scanType,
                                                 cpe.getName())) {
                             if (log.isDebugEnabled()) {
-                                log.debug(sm.getString(
-                                        "jarScan.classloaderJarScan", urls[i]));
+                                log.debug(sm.getString("jarScan.classloaderJarScan", urls[i]));
                             }
                             String webappPath = null;
                             if (urls[i].equals(webInfURL)) {
@@ -253,16 +252,12 @@ public class StandardJarScanner implemen
                             try {
                                 process(scanType, callback, urls[i], webappPath, isWebapp);
                             } catch (IOException ioe) {
-                                log.warn(sm.getString(
-                                        "jarScan.classloaderFail", urls[i]),
-                                                ioe);
+                                log.warn(sm.getString("jarScan.classloaderFail", urls[i]),
ioe);
                             }
                         } else {
                             // JAR / directory has been skipped
                             if (log.isTraceEnabled()) {
-                                log.trace(sm.getString(
-                                        "jarScan.classloaderJarNoScan",
-                                        urls[i]));
+                                log.trace(sm.getString("jarScan.classloaderJarNoScan", urls[i]));
                             }
                         }
                     }



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


Mime
View raw message