Permalink
Browse files

no need to split the : char

  • Loading branch information...
1 parent e686253 commit 6b341c2e5aa1d438e045f0089fa16ee60571b594 Jon Vlachoyiannis committed Mar 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/sfalma/trace/Sfalma.java
@@ -117,7 +117,7 @@ public static String getClass(String in) {
String out = "";
int endOfFirstLine = in.indexOf(":");
if (endOfFirstLine != -1 && endOfFirstLine+1 < in.length() ) {
- out = in.substring(0, endOfFirstLine + 1);
+ out = in.substring(0, endOfFirstLine);
}
return out;
}

0 comments on commit 6b341c2

Please sign in to comment.