tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1812617 - /tomcat/trunk/java/org/apache/tomcat/util/scan/AbstractInputStreamJar.java
Date Thu, 19 Oct 2017 11:31:05 GMT
Author: markt
Date: Thu Oct 19 11:31:05 2017
New Revision: 1812617

URL: http://svn.apache.org/viewvc?rev=1812617&view=rev
Log:
Fix String concatenation

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

Modified: tomcat/trunk/java/org/apache/tomcat/util/scan/AbstractInputStreamJar.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/scan/AbstractInputStreamJar.java?rev=1812617&r1=1812616&r2=1812617&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/scan/AbstractInputStreamJar.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/scan/AbstractInputStreamJar.java Thu Oct 19 11:31:05
2017
@@ -267,8 +267,8 @@ public abstract class AbstractInputStrea
         mrMap = new HashMap<>();
 
         for (Entry<String,Integer> mrVersion : mrVersions.entrySet()) {
-            mrMap.put(mrVersion.getKey() , "META-INF/versions/" + mrVersion.getValue().toString()
+ ""
-                    + "/" +  mrVersion.getKey());
+            mrMap.put(mrVersion.getKey() , "META-INF/versions/" + mrVersion.getValue().toString()
+
+                    "/" +  mrVersion.getKey());
         }
 
         // Reset stream back to the beginning of the JAR



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


Mime
View raw message