jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1438105 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/MergeCommand.java
Date Thu, 24 Jan 2013 17:48:33 GMT
Author: mduerig
Date: Thu Jan 24 17:48:33 2013
New Revision: 1438105

URL: http://svn.apache.org/viewvc?rev=1438105&view=rev
Log:
remove redundant toString()

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/MergeCommand.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/MergeCommand.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/MergeCommand.java?rev=1438105&r1=1438104&r2=1438105&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/MergeCommand.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/MergeCommand.java
Thu Jan 24 17:48:33 2013
@@ -89,7 +89,7 @@ public class MergeCommand extends BaseCo
         String diff = getNonConflictingCommitsDiff(Math.max(currentHead, commit.getRevisionId()),
                 branchRootId, branchId);
         if (diff != null) {
-            newCommit = CommitBuilder.build("/", diff.toString(),
+            newCommit = CommitBuilder.build("/", diff,
                     MongoUtil.fromMongoRepresentation(currentHead), message);
         } else {
             Node ourRoot = getNode("/", rootNodeId, branchId);



Mime
View raw message