mirror of https://github.com/apache/lucene.git
Making NO_OUTPUT a true singleton within a single class loader. I didn't see the point of it being class-level, but correct me if I'm wrong.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e4a656592
commit
896bcea27f
|
@ -28,7 +28,7 @@ import org.apache.lucene.store.DataOutput;
|
|||
|
||||
public final class NoOutputs extends Outputs<Object> {
|
||||
|
||||
final Object NO_OUTPUT = new Object() {
|
||||
static final Object NO_OUTPUT = new Object() {
|
||||
// NodeHash calls hashCode for this output; we fix this
|
||||
// so we get deterministic hashing.
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue