Lucene.Net.Core.Analysis.TokenAttributes: Removed unused 
TermToBytesRefAttribute class (wasn't in Lucene 4.8.0 anyway)


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/cfdda330
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/cfdda330
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/cfdda330

Branch: refs/heads/api-work
Commit: cfdda330ca0faf9f2e011b8c58e8990cbc00061c
Parents: 52da783
Author: Shad Storhaug <[email protected]>
Authored: Wed Feb 8 21:16:02 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Wed Feb 8 21:16:53 2017 +0700

----------------------------------------------------------------------
 .../TokenAttributes/TermToBytesRefAttribute.cs  | 29 --------------------
 src/Lucene.Net.Core/Lucene.Net.csproj           |  1 -
 2 files changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/cfdda330/src/Lucene.Net.Core/Analysis/TokenAttributes/TermToBytesRefAttribute.cs
----------------------------------------------------------------------
diff --git 
a/src/Lucene.Net.Core/Analysis/TokenAttributes/TermToBytesRefAttribute.cs 
b/src/Lucene.Net.Core/Analysis/TokenAttributes/TermToBytesRefAttribute.cs
deleted file mode 100644
index a9e05f2..0000000
--- a/src/Lucene.Net.Core/Analysis/TokenAttributes/TermToBytesRefAttribute.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//using Lucene.Net.Util;
-//using System;
-//using Attribute = Lucene.Net.Util.Attribute;
-
-//namespace Lucene.Net.Analysis.TokenAttributes
-//{
-//    // LUCENENET TODO: This class does not exist in Java - Remove?
-//    public class TermToBytesRefAttribute : Attribute, 
ITermToBytesRefAttribute
-//    {
-//        private BytesRef bytes;
-
-//        public void FillBytesRef()
-//        {
-//            throw new NotImplementedException("I'm not sure what this should 
do");
-//        }
-
-//        public BytesRef BytesRef { get; set; }
-
-//        public override void Clear()
-//        {
-//        }
-
-//        public override void CopyTo(IAttribute target)
-//        {
-//            TermToBytesRefAttribute other = (TermToBytesRefAttribute)target;
-//            other.bytes = bytes;
-//        }
-//    }
-//}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/cfdda330/src/Lucene.Net.Core/Lucene.Net.csproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Lucene.Net.csproj 
b/src/Lucene.Net.Core/Lucene.Net.csproj
index a4b4d24..0cd852d 100644
--- a/src/Lucene.Net.Core/Lucene.Net.csproj
+++ b/src/Lucene.Net.Core/Lucene.Net.csproj
@@ -73,7 +73,6 @@
     <Compile Include="Analysis\TokenAttributes\PositionLengthAttribute.cs" />
     <Compile Include="Analysis\TokenAttributes\ITermToBytesRefAttribute.cs" />
     <Compile Include="Analysis\TokenAttributes\ITypeAttribute.cs" />
-    <Compile Include="Analysis\TokenAttributes\TermToBytesRefAttribute.cs" />
     <Compile Include="Analysis\TokenAttributes\TypeAttribute.cs" />
     <Compile Include="Analysis\TokenFilter.cs" />
     <Compile Include="Analysis\Tokenizer.cs" />

Reply via email to