Skip to content

Commit

Permalink
JCR-2439: More utility methods in JcrUtils
Browse files Browse the repository at this point in the history
Make the toString() method show a little bit more of string values

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@891192 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jukka committed Dec 16, 2009
1 parent d44c202 commit ac077f1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -603,8 +603,8 @@ private static void append(StringBuilder builder, Value value)
}
} else {
String string = value.getString();
if (string.length() > 20) {
builder.append(string.substring(0, 17));
if (string.length() > 40) {
builder.append(string.substring(0, 37));
builder.append("...");
} else {
builder.append(string);
Expand Down

0 comments on commit ac077f1

Please sign in to comment.