mirror of https://github.com/apache/lucene.git
LUCENE-4324: nuke default ctors on some all-static-method util classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377923 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce82983b6b
commit
4716b0bc21
|
@ -41,6 +41,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";
|
||||
|
||||
|
|
|
@ -28,6 +28,9 @@ import java.util.Map;
|
|||
*/
|
||||
public final class TwoPhaseCommitTool {
|
||||
|
||||
/** No instance */
|
||||
private TwoPhaseCommitTool() {}
|
||||
|
||||
/**
|
||||
* A wrapper of a {@link TwoPhaseCommit}, which delegates all calls to the
|
||||
* wrapped object, passing the specified commitData. This object is useful for
|
||||
|
|
|
@ -22,6 +22,9 @@ package org.apache.lucene.util;
|
|||
*/
|
||||
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.
|
||||
* <br>Values are truncated (rounded down) to the nearest 8 bit value.
|
||||
|
|
Loading…
Reference in New Issue