jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1180309 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Date Sat, 08 Oct 2011 04:06:03 GMT
Author: dbrosius
Date: Sat Oct  8 04:06:03 2011
New Revision: 1180309

URL: http://svn.apache.org/viewvc?rev=1180309&view=rev
Log:
use stringbuffer correctly

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=1180309&r1=1180308&r2=1180309&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
Sat Oct  8 04:06:03 2011
@@ -168,9 +168,9 @@ public class JcrUtils {
                 log.append(newline);
                 log.append("Note that the given repository URI was invalid:");
                 log.append(newline);
-                log.append("        " + uri);
+                log.append("        ").append(uri);
                 log.append(newline);
-                log.append("        " + e.getMessage());
+                log.append("        ").append(e.getMessage());
             } catch (UnsupportedEncodingException e) {
                 throw new RepositoryException("UTF-8 is not supported!", e);
             }



Mime
View raw message