openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1595478 - /openwebbeans/branches/owb_1.2.x/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
Date Sat, 17 May 2014 13:31:35 GMT
Author: rmannibucau
Date: Sat May 17 13:31:35 2014
New Revision: 1595478

URL: http://svn.apache.org/r1595478
Log:
OWB-953 seems url was a typo and addPath the right variable to use, thanks Pierre-Fran├žois
Garcia for this catch

Modified:
    openwebbeans/branches/owb_1.2.x/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java

Modified: openwebbeans/branches/owb_1.2.x/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
URL: http://svn.apache.org/viewvc/openwebbeans/branches/owb_1.2.x/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java?rev=1595478&r1=1595477&r2=1595478&view=diff
==============================================================================
--- openwebbeans/branches/owb_1.2.x/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
(original)
+++ openwebbeans/branches/owb_1.2.x/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
Sat May 17 13:31:35 2014
@@ -129,7 +129,7 @@ public class WebScannerService extends A
                 String fileDir = new URL(url).getFile();
                 if (fileDir.endsWith(".jar!/"))
                 {
-                    fileDir = fileDir.substring(0, fileDir.lastIndexOf("/")) + "/" + META_INF_BEANS_XML;
+                    fileDir = fileDir.substring(0, fileDir.lastIndexOf("/") + 1) + META_INF_BEANS_XML;
 
                     //fix for weblogic
                     if (!fileDir.startsWith("file:/"))
@@ -163,7 +163,7 @@ public class WebScannerService extends A
 
                 }
 
-                listURL.add(url);
+                listURL.add(addPath);
             }
         }
 



Mime
View raw message