incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1172542 - /sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/app/Main.java
Date Mon, 19 Sep 2011 09:43:13 GMT
Author: fmeschbe
Date: Mon Sep 19 09:43:13 2011
New Revision: 1172542

URL: http://svn.apache.org/viewvc?rev=1172542&view=rev
Log:
SLING-2225 Properly handle setting the sling.control.action property

Modified:
    sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/app/Main.java

Modified: sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/app/Main.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/app/Main.java?rev=1172542&r1=1172541&r2=1172542&view=diff
==============================================================================
--- sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/app/Main.java (original)
+++ sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/app/Main.java Mon
Sep 19 09:43:13 2011
@@ -250,7 +250,7 @@ public class Main {
             }
 
             try {
-                return ControlAction.valueOf(action.toString());
+                return ControlAction.valueOf(action.toString().toUpperCase());
             } catch (IllegalArgumentException iae) {
                 error("Illegal control action value: " + action, null);
             }



Mime
View raw message