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:
Dawid Weiss 2011-06-03 10:39:55 +00:00
parent 9e4a656592
commit 896bcea27f
1 changed files with 1 additions and 1 deletions

View File

@ -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