incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r581673 - /incubator/sling/trunk/core/src/main/java/org/apache/sling/core/impl/mapper/URLMapperFilter.java
Date Wed, 03 Oct 2007 18:12:40 GMT
Author: fmeschbe
Date: Wed Oct  3 11:12:39 2007
New Revision: 581673

URL: http://svn.apache.org/viewvc?rev=581673&view=rev
Log:
Remove empty reference target setting (not required)

Modified:
    incubator/sling/trunk/core/src/main/java/org/apache/sling/core/impl/mapper/URLMapperFilter.java

Modified: incubator/sling/trunk/core/src/main/java/org/apache/sling/core/impl/mapper/URLMapperFilter.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/core/src/main/java/org/apache/sling/core/impl/mapper/URLMapperFilter.java?rev=581673&r1=581672&r2=581673&view=diff
==============================================================================
--- incubator/sling/trunk/core/src/main/java/org/apache/sling/core/impl/mapper/URLMapperFilter.java
(original)
+++ incubator/sling/trunk/core/src/main/java/org/apache/sling/core/impl/mapper/URLMapperFilter.java
Wed Oct  3 11:12:39 2007
@@ -92,7 +92,7 @@
     private static final Logger log = LoggerFactory.getLogger(URLMapperFilter.class);
 
     /**
-     * @scr.reference target=""
+     * @scr.reference
      */
     private JcrContentManagerFactory contentManagerFactory;
 
@@ -754,7 +754,9 @@
                 // }
                 for (int i = 0; i < fromList.length; i++) {
                     // add slash lost during expansion
-                    if (this.addSlash) fromList[i] += "/";
+                    if (this.addSlash) {
+                        fromList[i] += "/";
+                    }
                     log.debug(
                         "addMappings: Add mapping from {} to {}, dir={}",
                         new Object[] { fromList[i], this.to, this.dir });



Mime
View raw message