[seam-commits] Seam SVN: r8896 - trunk/src/main/org/jboss/seam/util.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Sep 4 00:56:15 EDT 2008


Author: matt.drees
Date: 2008-09-04 00:56:15 -0400 (Thu, 04 Sep 2008)
New Revision: 8896

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

Modified: trunk/src/main/org/jboss/seam/util/Strings.java
===================================================================
--- trunk/src/main/org/jboss/seam/util/Strings.java	2008-09-04 04:52:51 UTC (rev 8895)
+++ trunk/src/main/org/jboss/seam/util/Strings.java	2008-09-04 04:56:15 UTC (rev 8896)
@@ -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