jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r1436464 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/htree/HashDirectory.java
Date Mon, 21 Jan 2013 16:35:04 GMT
Author: dpfister
Date: Mon Jan 21 16:35:04 2013
New Revision: 1436464

URL: http://svn.apache.org/viewvc?rev=1436464&view=rev
Log:
Fix illegal casts

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/htree/HashDirectory.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/htree/HashDirectory.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/htree/HashDirectory.java?rev=1436464&r1=1436463&r2=1436464&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/htree/HashDirectory.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/htree/HashDirectory.java
Mon Jan 21 16:35:04 2013
@@ -410,7 +410,7 @@ class HashDirectory implements ChildNode
     }
     
     /**
-     * Entry inside this a directory's index.
+     * Entry inside this directory's index.
      */
     static interface IndexEntry {
         
@@ -422,7 +422,7 @@ class HashDirectory implements ChildNode
     }
     
     /**
-     * Direct entry inside this a directory's index, pointing to a child node.
+     * Direct entry inside this directory's index, pointing to a child node.
      */
     static class NodeEntry extends ChildNodeEntry implements IndexEntry {
 
@@ -459,7 +459,7 @@ class HashDirectory implements ChildNode
     }
     
     /**
-     * Container entry inside this a directory's index, pointing to either a
+     * Container entry inside this directory's index, pointing to either a
      * directory or a bucket.
      */
     static abstract class ContainerEntry implements IndexEntry {
@@ -524,7 +524,7 @@ class HashDirectory implements ChildNode
                 return null;
             }
             if (other instanceof ChildNodeEntry) {
-                ChildNodeEntries container  = ((ContainerEntry) other).createCompatibleContainer();
+                ChildNodeEntries container  = createCompatibleContainer();
                 container.add((ChildNodeEntry) other);
                 return getContainer().getAdded(container);
             }
@@ -536,7 +536,7 @@ class HashDirectory implements ChildNode
                 return null;
             }
             if (other instanceof ChildNodeEntry) {
-                ChildNodeEntries container = ((ContainerEntry) other).createCompatibleContainer();
+                ChildNodeEntries container = createCompatibleContainer();
                 container.add((ChildNodeEntry) other);
                 return getContainer().getModified(container);
             }
@@ -549,7 +549,7 @@ class HashDirectory implements ChildNode
     }
     
     /**
-     * Directory entry inside this a directory's index, pointing to a directory on the
+     * Directory entry inside this directory's index, pointing to a directory on the
      * next level.
      */
     static class DirectoryEntry extends ContainerEntry {
@@ -596,7 +596,7 @@ class HashDirectory implements ChildNode
     }
 
     /**
-     * Bucket entry inside this a directory's index, pointing to a bucket or leaf node.
+     * Bucket entry inside this directory's index, pointing to a bucket or leaf node.
      */
     static class BucketEntry extends ContainerEntry {
         



Mime
View raw message