incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r591382 - /incubator/sling/trunk/microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java
Date Fri, 02 Nov 2007 16:05:09 GMT
Author: bdelacretaz
Date: Fri Nov  2 09:05:09 2007
New Revision: 591382

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

Modified:
    incubator/sling/trunk/microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java

Modified: incubator/sling/trunk/microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java?rev=591382&r1=591381&r2=591382&view=diff
==============================================================================
--- incubator/sling/trunk/microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java
(original)
+++ incubator/sling/trunk/microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java
Fri Nov  2 09:05:09 2007
@@ -226,20 +226,6 @@
         return result;
     }
 
-    protected String filterStringForFilename(String inputString) {
-        final StringBuffer sb = new StringBuffer();
-        final String str = inputString.toLowerCase();
-        for (int i = 0; i < str.length(); i++) {
-            final char c = str.charAt(i);
-            if (Character.isLetterOrDigit(c)) {
-                sb.append(c);
-            } else {
-                sb.append("_");
-            }
-        }
-        return sb.toString();
-    }
-
     private void addScriptEngine(SlingScriptEngine scriptEngine) {
         String[] extensions = scriptEngine.getExtensions();
         for (String extension : extensions) {



Mime
View raw message