[seam-commits] Seam SVN: r8894 - branches/Seam_2_0/src/main/org/jboss/seam/util.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Sep 4 00:46:09 EDT 2008


Author: matt.drees
Date: 2008-09-04 00:46:09 -0400 (Thu, 04 Sep 2008)
New Revision: 8894

Modified:
   branches/Seam_2_0/src/main/org/jboss/seam/util/Strings.java
Log:
shouldn't assume sep is two characters

Modified: branches/Seam_2_0/src/main/org/jboss/seam/util/Strings.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/util/Strings.java	2008-09-04 02:28:46 UTC (rev 8893)
+++ branches/Seam_2_0/src/main/org/jboss/seam/util/Strings.java	2008-09-04 04:46:09 UTC (rev 8894)
@@ -125,7 +125,7 @@
       {
          builder.append(sep).append( clazz.getName() );
       }
-      return builder.substring(2);
+      return builder.substring(sep.length());
    }
    
    public static String toString(InputStream in) throws IOException {




More information about the seam-commits mailing list