From 2698e0943417e92daab953758751509091c0d3f2 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Fri, 9 Dec 2011 14:42:21 +0000 Subject: [PATCH] LUCENE-3622: move DirectSource under codec, its specific to that format (indexinput etc) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212447 13f79535-47bb-0310-9956-ffa450edef68 --- .../index/{ => codecs/lucene40}/values/DirectSource.java | 4 +++- .../index/codecs/lucene40/values/FixedDerefBytesImpl.java | 1 - .../index/codecs/lucene40/values/FixedStraightBytesImpl.java | 1 - .../index/codecs/lucene40/values/VarDerefBytesImpl.java | 1 - .../index/codecs/lucene40/values/VarStraightBytesImpl.java | 1 - 5 files changed, 3 insertions(+), 5 deletions(-) rename lucene/src/java/org/apache/lucene/index/{ => codecs/lucene40}/values/DirectSource.java (95%) diff --git a/lucene/src/java/org/apache/lucene/index/values/DirectSource.java b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/DirectSource.java similarity index 95% rename from lucene/src/java/org/apache/lucene/index/values/DirectSource.java rename to lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/DirectSource.java index 133f64ced14..02a957e9b65 100644 --- a/lucene/src/java/org/apache/lucene/index/values/DirectSource.java +++ b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/DirectSource.java @@ -1,4 +1,4 @@ -package org.apache.lucene.index.values; +package org.apache.lucene.index.codecs.lucene40.values; /** * Licensed to the Apache Software Foundation (ASF) under one or more @@ -19,6 +19,8 @@ package org.apache.lucene.index.values; import java.io.IOException; +import org.apache.lucene.index.values.IndexDocValues; +import org.apache.lucene.index.values.ValueType; import org.apache.lucene.index.values.IndexDocValues.Source; import org.apache.lucene.store.IndexInput; import org.apache.lucene.util.BytesRef; diff --git a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedDerefBytesImpl.java b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedDerefBytesImpl.java index 31efc70e139..ec807050f12 100644 --- a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedDerefBytesImpl.java +++ b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedDerefBytesImpl.java @@ -22,7 +22,6 @@ import java.io.IOException; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesReaderBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesSourceBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.DerefBytesWriterBase; -import org.apache.lucene.index.values.DirectSource; import org.apache.lucene.index.values.ValueType; import org.apache.lucene.store.Directory; import org.apache.lucene.store.IOContext; diff --git a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedStraightBytesImpl.java b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedStraightBytesImpl.java index 8562923a6ba..52622d05d79 100644 --- a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedStraightBytesImpl.java +++ b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/FixedStraightBytesImpl.java @@ -24,7 +24,6 @@ import java.io.IOException; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesReaderBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesSourceBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesWriterBase; -import org.apache.lucene.index.values.DirectSource; import org.apache.lucene.index.values.IndexDocValues; import org.apache.lucene.index.values.ValueType; import org.apache.lucene.index.values.IndexDocValues.Source; diff --git a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarDerefBytesImpl.java b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarDerefBytesImpl.java index 63443ea18a9..2f035de1271 100644 --- a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarDerefBytesImpl.java +++ b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarDerefBytesImpl.java @@ -22,7 +22,6 @@ import java.io.IOException; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesReaderBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesSourceBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.DerefBytesWriterBase; -import org.apache.lucene.index.values.DirectSource; import org.apache.lucene.index.values.ValueType; import org.apache.lucene.store.Directory; import org.apache.lucene.store.IOContext; diff --git a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarStraightBytesImpl.java b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarStraightBytesImpl.java index 7ac7a931192..0e7ff31bc30 100644 --- a/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarStraightBytesImpl.java +++ b/lucene/src/java/org/apache/lucene/index/codecs/lucene40/values/VarStraightBytesImpl.java @@ -22,7 +22,6 @@ import java.io.IOException; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesReaderBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesSourceBase; import org.apache.lucene.index.codecs.lucene40.values.Bytes.BytesWriterBase; -import org.apache.lucene.index.values.DirectSource; import org.apache.lucene.index.values.ValueType; import org.apache.lucene.store.Directory; import org.apache.lucene.store.IOContext;