jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1237363 - /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/model/AbstractCommit.java
Date Sun, 29 Jan 2012 17:20:13 GMT
Author: stefan
Date: Sun Jan 29 17:20:13 2012
New Revision: 1237363

URL: http://svn.apache.org/viewvc?rev=1237363&view=rev
Log:
refactoring serialization code

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/model/AbstractCommit.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/model/AbstractCommit.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/model/AbstractCommit.java?rev=1237363&r1=1237362&r2=1237363&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/model/AbstractCommit.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/model/AbstractCommit.java
Sun Jan 29 17:20:13 2012
@@ -62,9 +62,9 @@ public abstract class AbstractCommit imp
     }
 
     public void serialize(Binding binding) throws Exception {
-        binding.write("", rootNodeId);
-        binding.write("", commitTS);
-        binding.write("", msg == null ? "" : msg);
-        binding.write("", parentId);
+        binding.write("rootNodeId", rootNodeId);
+        binding.write("commitTS", commitTS);
+        binding.write("msg", msg == null ? "" : msg);
+        binding.write("parentId", parentId == null ? "" : parentId);
     }
 }



Mime
View raw message