incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1172674 - /sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/BootstrapInstaller.java
Date Mon, 19 Sep 2011 15:46:12 GMT
Author: cziegeler
Date: Mon Sep 19 15:46:12 2011
New Revision: 1172674

URL: http://svn.apache.org/viewvc?rev=1172674&view=rev
Log:
Remove unused method

Modified:
    sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/BootstrapInstaller.java

Modified: sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/BootstrapInstaller.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/BootstrapInstaller.java?rev=1172674&r1=1172673&r2=1172674&view=diff
==============================================================================
--- sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/BootstrapInstaller.java
(original)
+++ sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/BootstrapInstaller.java
Mon Sep 19 15:46:12 2011
@@ -872,25 +872,6 @@ class BootstrapInstaller {
     };
 
     //---------- helper
-
-    private static int getStartLevel(Map<String, String> props) {
-        // check requested startlevel from the startup properties
-        final String startLevelS = props.get(Constants.FRAMEWORK_BEGINNING_STARTLEVEL);
-        if (startLevelS != null) {
-            try {
-                int startLevel = Integer.parseInt(startLevelS);
-                if (startLevel >= 1) {
-                    return startLevel;
-                }
-            } catch (NumberFormatException nfe) {
-                // don't care much
-            }
-        }
-
-        // fall back to default startlevel
-        return 1;
-    }
-
     /**
      * Simple check to see if a string is blank since
      * StringUtils is not available here, maybe fix this later



Mime
View raw message