cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1424108 - /cxf/trunk/api/src/main/java/org/apache/cxf/common/util/StringUtils.java
Date Wed, 19 Dec 2012 21:10:34 GMT
Author: dkulp
Date: Wed Dec 19 21:10:33 2012
New Revision: 1424108

URL: http://svn.apache.org/viewvc?rev=1424108&view=rev
Log:
Fix spelling typo to make Glen happy.  :-)

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/common/util/StringUtils.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/common/util/StringUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/common/util/StringUtils.java?rev=1424108&r1=1424107&r2=1424108&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/common/util/StringUtils.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/common/util/StringUtils.java Wed Dec 19 21:10:33
2012
@@ -134,9 +134,9 @@ public final class StringUtils {
         return str1;
     }
     
-    public static List<String> getParts(String str, String seperator) {
+    public static List<String> getParts(String str, String separator) {
         List<String> ret = new ArrayList<String>();
-        List<String> parts = Arrays.asList(split(str, seperator));
+        List<String> parts = Arrays.asList(split(str, separator));
         for (String part : parts) {
             if (!isEmpty(part)) {
                 ret.add(part);
@@ -145,8 +145,8 @@ public final class StringUtils {
         return ret;
     }
     
-    public static String getFirstNotEmpty(String str, String seperator) {
-        List<String> parts = Arrays.asList(split(str, seperator));
+    public static String getFirstNotEmpty(String str, String separator) {
+        List<String> parts = Arrays.asList(split(str, separator));
         for (String part : parts) {
             if (!isEmpty(part)) {
                 return part;



Mime
View raw message