You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2008/04/15 18:04:41 UTC

svn commit: r648305 - /incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java

Author: cziegeler
Date: Tue Apr 15 09:04:39 2008
New Revision: 648305

URL: http://svn.apache.org/viewvc?rev=648305&view=rev
Log:
Fix default value for property (although scr is not used)

Modified:
    incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java

Modified: incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java?rev=648305&r1=648304&r2=648305&view=diff
==============================================================================
--- incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java (original)
+++ incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java Tue Apr 15 09:04:39 2008
@@ -75,7 +75,7 @@
 
 /**
  * The <code>Sling Manager</code> TODO
- * 
+ *
  * @scr.component ds="no" label="%manager.name"
  *                description="%manager.description"
  */
@@ -92,7 +92,7 @@
     public static final String PARAM_NO_REDIRECT_AFTER_ACTION = "_noredir_";
 
     /**
-     * @scr.property value="/sling"
+     * @scr.property valueRef="PROP_MANAGER_ROOT"
      */
     private static final String PROP_MANAGER_ROOT = "manager.root";
 
@@ -580,7 +580,7 @@
     /**
      * Returns the named property from the configuration. If the property does
      * not exist, the default value <code>def</code> is returned.
-     * 
+     *
      * @param config The properties from which to returned the named one
      * @param name The name of the property to return
      * @param def The default value if the named property does not exist