You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/12/19 22:13:28 UTC

svn commit: r1424109 - /cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/StringUtils.java

Author: dkulp
Date: Wed Dec 19 21:13:28 2012
New Revision: 1424109

URL: http://svn.apache.org/viewvc?rev=1424109&view=rev
Log:
Merged revisions 1424108 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1424108 | dkulp | 2012-12-19 16:10:33 -0500 (Wed, 19 Dec 2012) | 2 lines

  Fix spelling typo to make Glen happy.  :-)

........

Modified:
    cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/StringUtils.java

Modified: cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/StringUtils.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/StringUtils.java?rev=1424109&r1=1424108&r2=1424109&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/StringUtils.java (original)
+++ cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/StringUtils.java Wed Dec 19 21:13:28 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;