incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r923212 - /sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java
Date Mon, 15 Mar 2010 13:24:44 GMT
Author: cziegeler
Date: Mon Mar 15 13:24:44 2010
New Revision: 923212

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

Modified:
    sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java

Modified: sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java?rev=923212&r1=923211&r2=923212&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java
(original)
+++ sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java
Mon Mar 15 13:24:44 2010
@@ -17,7 +17,6 @@
 
 package org.apache.sling.servlets.post.impl.helper;
 
-import java.util.ArrayList;
 import java.util.Calendar;
 import java.util.HashMap;
 import java.util.List;
@@ -318,17 +317,6 @@ public class SlingPropertyValueHandler {
         }
     }
 
-    private String[] filterBlanks(String[] values) {
-        List<String> filteredValues = new ArrayList<String>(values.length);
-        for (String s : values) {
-            if (s.trim().length() > 0) {
-                filteredValues.add(s);
-            }
-        }
-        return filteredValues.toArray(new String[filteredValues.size()]);
-    }
-
-
     private boolean isReferencePropertyType(int propertyType) {
         return propertyType == PropertyType.REFERENCE || propertyType == PROPERTY_TYPE_WEAKREFERENCE;
     }



Mime
View raw message