jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1330692 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/AbstractPropertyState.java
Date Thu, 26 Apr 2012 08:06:50 GMT
Author: mduerig
Date: Thu Apr 26 08:06:49 2012
New Revision: 1330692

URL: http://svn.apache.org/viewvc?rev=1330692&view=rev
Log:
OAK-3: Internal tree model
add toString()

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/AbstractPropertyState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/AbstractPropertyState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/AbstractPropertyState.java?rev=1330692&r1=1330691&r2=1330692&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/AbstractPropertyState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/AbstractPropertyState.java
Thu Apr 26 08:06:49 2012
@@ -16,11 +16,11 @@
  */
 package org.apache.jackrabbit.oak.kernel;
 
-import java.util.Iterator;
-
 import org.apache.jackrabbit.oak.api.CoreValue;
 import org.apache.jackrabbit.oak.api.PropertyState;
 
+import java.util.Iterator;
+
 /**
  * Abstract base class for {@link PropertyState} implementations.
  * This base class contains default implementations of the
@@ -80,4 +80,8 @@ public abstract class AbstractPropertySt
         return getName().hashCode();
     }
 
+    @Override
+    public String toString() {
+        return getName() + '=' + getValue();
+    }
 }



Mime
View raw message