lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1377927 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/core/ lucene/core/src/java/org/apache/lucene/index/ lucene/core/src/java/org/apache/lucene/util/
Date Tue, 28 Aug 2012 00:41:38 GMT
Author: rmuir
Date: Tue Aug 28 00:41:38 2012
New Revision: 1377927

URL: http://svn.apache.org/viewvc?rev=1377927&view=rev
Log:
LUCENE-4324: nuke default ctors on some all-static-method util classes

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java
    lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/TwoPhaseCommitTool.java
    lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/SmallFloat.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java?rev=1377927&r1=1377926&r2=1377927&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java
Tue Aug 28 00:41:38 2012
@@ -40,6 +40,9 @@ import org.apache.lucene.codecs.Codec;
  */
 
 public final class IndexFileNames {
+  
+  /** No instance */
+  private IndexFileNames() {}
 
   /** Name of the index segment file */
   public static final String SEGMENTS = "segments";

Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/TwoPhaseCommitTool.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/TwoPhaseCommitTool.java?rev=1377927&r1=1377926&r2=1377927&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/TwoPhaseCommitTool.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/TwoPhaseCommitTool.java
Tue Aug 28 00:41:38 2012
@@ -27,6 +27,9 @@ import java.util.Map;
  * @lucene.experimental
  */
 public final class TwoPhaseCommitTool {
+  
+  /** No instance */
+  private TwoPhaseCommitTool() {}
 
   /**
    * A wrapper of a {@link TwoPhaseCommit}, which delegates all calls to the

Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/SmallFloat.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/SmallFloat.java?rev=1377927&r1=1377926&r2=1377927&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/SmallFloat.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/SmallFloat.java
Tue Aug 28 00:41:38 2012
@@ -21,6 +21,9 @@ package org.apache.lucene.util;
  * @lucene.internal
  */
 public class SmallFloat {
+  
+  /** No instance */
+  private SmallFloat() {}
 
   /** Converts a 32 bit float to an 8 bit float.
    * <br>Values less than zero are all mapped to zero.



Mime
View raw message