jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r891192 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Date Wed, 16 Dec 2009 11:23:08 GMT
Author: jukka
Date: Wed Dec 16 11:23:08 2009
New Revision: 891192

URL: http://svn.apache.org/viewvc?rev=891192&view=rev
Log:
JCR-2439: More utility methods in JcrUtils

Make the toString() method show a little bit more of string values

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java?rev=891192&r1=891191&r2=891192&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Wed Dec 16 11:23:08 2009
@@ -603,8 +603,8 @@
             }
         } 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);



Mime
View raw message