jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1443031 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak: kernel/StringCache.java namepath/LocalNameMapper.java spi/state/NodeStateUtils.java
Date Wed, 06 Feb 2013 15:54:48 GMT
Author: mduerig
Date: Wed Feb  6 15:54:47 2013
New Revision: 1443031

URL: http://svn.apache.org/viewvc?rev=1443031&view=rev
Log:
minor: private constructor for utility classes, protected constructor for abstract class

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/LocalNameMapper.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java?rev=1443031&r1=1443030&r2=1443031&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
Wed Feb  6 15:54:47 2013
@@ -130,6 +130,9 @@ class StringCache {
             VersionConstants.NT_CONFIGURATION,
             VersionConstants.REP_CONFIGURATIONS);
 
+    private StringCache() {
+    }
+
     private static Map<String, String> createStringMap(String... strings) {
         ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
         for (String string : strings) {

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/LocalNameMapper.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/LocalNameMapper.java?rev=1443031&r1=1443030&r2=1443031&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/LocalNameMapper.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/LocalNameMapper.java
Wed Feb  6 15:54:47 2013
@@ -29,7 +29,7 @@ public abstract class LocalNameMapper ex
 
     private final Map<String, String> local;
 
-    public LocalNameMapper(Map<String, String> local) {
+    protected LocalNameMapper(Map<String, String> local) {
         this.local = local;
     }
 

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java?rev=1443031&r1=1443030&r2=1443031&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java
Wed Feb  6 15:54:47 2013
@@ -21,6 +21,9 @@ package org.apache.jackrabbit.oak.spi.st
  */
 public class NodeStateUtils {
 
+    private NodeStateUtils() {
+    }
+
     /**
      * Check whether the node or property with the given name is hidden, that
      * is, if the node name starts with a ":".



Mime
View raw message