jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1471457 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/util/Utils.java
Date Wed, 24 Apr 2013 15:08:35 GMT
Author: mreutegg
Date: Wed Apr 24 15:08:35 2013
New Revision: 1471457

URL: http://svn.apache.org/r1471457
Log:
OAK-619 Lock-free MongoMK implementation
- Make utility methods public

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/util/Utils.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/util/Utils.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/util/Utils.java?rev=1471457&r1=1471456&r2=1471457&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/util/Utils.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/util/Utils.java
Wed Apr 24 15:08:35 2013
@@ -29,7 +29,7 @@ import org.bson.types.ObjectId;
  */
 public class Utils {
     
-    static int pathDepth(String path) {
+    public static int pathDepth(String path) {
         if (path.equals("/")) {
             return 0;
         }
@@ -42,11 +42,11 @@ public class Utils {
         return depth;
     }
     
-    static <K, V> Map<K, V> newMap() {
+    public static <K, V> Map<K, V> newMap() {
         return new TreeMap<K, V>();
     }
 
-    static <E> Set<E> newSet() {
+    public static <E> Set<E> newSet() {
         return new HashSet<E>();
     }
 



Mime
View raw message