You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2009/08/12 09:02:18 UTC

svn commit: r803384 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java

Author: cziegeler
Date: Wed Aug 12 07:02:18 2009
New Revision: 803384

URL: http://svn.apache.org/viewvc?rev=803384&view=rev
Log:
Make internal stuff package visible.

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java?rev=803384&r1=803383&r2=803384&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java (original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java Wed Aug 12 07:02:18 2009
@@ -54,13 +54,13 @@
     private final Node node;
 
     /** A cache for the properties. */
-    protected final Map<String, CacheEntry> cache;
+    final Map<String, CacheEntry> cache;
 
     /** A cache for the values. */
-    protected final Map<String, Object> valueCache;
+    final Map<String, Object> valueCache;
 
     /** Has the node been read completly? */
-    protected boolean fullyRead;
+    boolean fullyRead;
 
     /**
      * Constructor
@@ -76,7 +76,7 @@
     /**
      * Get the node.
      */
-    protected Node getNode() {
+    Node getNode() {
         return node;
     }
 
@@ -208,7 +208,7 @@
 
     // ---------- Helpers to access the node's property ------------------------
 
-    protected CacheEntry read(final String key) {
+    CacheEntry read(final String key) {
 
         // if the node has been completely read, we need not check
         // again, as we certainly will not find the key
@@ -233,7 +233,7 @@
         return null;
     }
 
-    protected void readFully() {
+    void readFully() {
         if (!fullyRead) {
             try {
                 PropertyIterator pi = node.getProperties();
@@ -399,7 +399,7 @@
         return type;
     }
 
-    protected static final class CacheEntry {
+    static final class CacheEntry {
         public final Property property;
         public final boolean isMulti;
         public final Value[] values;