From e9b5edc750e7874627e7db1c0843c8bf7a84b2d8 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Fri, 25 Jan 2013 21:20:40 +0000 Subject: [PATCH] clean up now that we dont need impersonators for these git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1438716 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/codecs/lucene40/Lucene40DocValuesReader.java | 2 +- .../apache/lucene/codecs/lucene40/Lucene40FieldInfosReader.java | 2 +- .../apache/lucene/codecs/lucene42/Lucene42DocValuesFormat.java | 2 +- .../apache/lucene/codecs/lucene42/Lucene42FieldInfosFormat.java | 2 +- .../apache/lucene/codecs/lucene42/Lucene42FieldInfosReader.java | 2 +- .../apache/lucene/codecs/lucene42/Lucene42FieldInfosWriter.java | 2 +- .../org/apache/lucene/codecs/lucene42/Lucene42NormsFormat.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40DocValuesReader.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40DocValuesReader.java index 04f98d284ff..b25dba644b2 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40DocValuesReader.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40DocValuesReader.java @@ -44,7 +44,7 @@ import org.apache.lucene.util.packed.PackedInts; * @deprecated Only for reading old 4.0 and 4.1 segments */ @Deprecated -class Lucene40DocValuesReader extends DocValuesProducer { +final class Lucene40DocValuesReader extends DocValuesProducer { private final Directory dir; private final SegmentReadState state; private final String legacyKey; diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40FieldInfosReader.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40FieldInfosReader.java index 9c12f12ac4a..623833aa176 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40FieldInfosReader.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40FieldInfosReader.java @@ -42,7 +42,7 @@ import org.apache.lucene.util.IOUtils; * @deprecated Only for reading old 4.0 and 4.1 segments */ @Deprecated -public class Lucene40FieldInfosReader extends FieldInfosReader { +class Lucene40FieldInfosReader extends FieldInfosReader { /** Sole constructor. */ public Lucene40FieldInfosReader() { diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42DocValuesFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42DocValuesFormat.java index 590396635b1..1f77e4222cd 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42DocValuesFormat.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42DocValuesFormat.java @@ -102,7 +102,7 @@ import org.apache.lucene.util.packed.BlockPackedWriter; * * */ -public class Lucene42DocValuesFormat extends DocValuesFormat { +public final class Lucene42DocValuesFormat extends DocValuesFormat { /** Sole constructor */ public Lucene42DocValuesFormat() { diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosFormat.java index 9a6fed9f348..c1559a37c66 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosFormat.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosFormat.java @@ -84,7 +84,7 @@ import org.apache.lucene.store.DataOutput; // javadoc * * @lucene.experimental */ -public class Lucene42FieldInfosFormat extends FieldInfosFormat { +public final class Lucene42FieldInfosFormat extends FieldInfosFormat { private final FieldInfosReader reader = new Lucene42FieldInfosReader(); private final FieldInfosWriter writer = new Lucene42FieldInfosWriter(); diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosReader.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosReader.java index 96f3dd89e11..c86eeaedd29 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosReader.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosReader.java @@ -40,7 +40,7 @@ import org.apache.lucene.util.IOUtils; * @lucene.experimental * @see Lucene42FieldInfosFormat */ -public class Lucene42FieldInfosReader extends FieldInfosReader { +final class Lucene42FieldInfosReader extends FieldInfosReader { /** Sole constructor. */ public Lucene42FieldInfosReader() { diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosWriter.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosWriter.java index 7e3aacf432b..80baa072281 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosWriter.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42FieldInfosWriter.java @@ -37,7 +37,7 @@ import org.apache.lucene.util.IOUtils; * @see Lucene42FieldInfosFormat * @lucene.experimental */ -public class Lucene42FieldInfosWriter extends FieldInfosWriter { +final class Lucene42FieldInfosWriter extends FieldInfosWriter { /** Sole constructor. */ public Lucene42FieldInfosWriter() { diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42NormsFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42NormsFormat.java index 9d1465bcd6f..b7a8aed5ae7 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42NormsFormat.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42NormsFormat.java @@ -38,7 +38,7 @@ import org.apache.lucene.index.SegmentWriteState; * * @see Lucene42DocValuesFormat */ -public class Lucene42NormsFormat extends NormsFormat { +public final class Lucene42NormsFormat extends NormsFormat { /** Sole constructor */ public Lucene42NormsFormat() {}