jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1210979 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsonValue.java
Date Tue, 06 Dec 2011 15:23:59 GMT
Author: mduerig
Date: Tue Dec  6 15:23:59 2011
New Revision: 1210979

URL: http://svn.apache.org/viewvc?rev=1210979&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
- add isEmpty method

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsonValue.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsonValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsonValue.java?rev=1210979&r1=1210978&r2=1210979&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsonValue.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsonValue.java
Tue Dec  6 15:23:59 2011
@@ -436,6 +436,10 @@ public abstract class JsonValue {
             return values.get(key);
         }
 
+        public boolean isEmpty() {
+            return values.isEmpty();
+        }
+
         @Override
         public JsonObject asObject() {
             return this;



Mime
View raw message