You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/02/13 17:38:02 UTC
svn commit: r1243597 -
/lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/analysis/Tokenizer.java
Author: rmuir
Date: Mon Feb 13 16:38:01 2012
New Revision: 1243597
URL: http://svn.apache.org/viewvc?rev=1243597&view=rev
Log:
LUCENE-3766: remove dead code
Modified:
lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/analysis/Tokenizer.java
Modified: lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/analysis/Tokenizer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/analysis/Tokenizer.java?rev=1243597&r1=1243596&r2=1243597&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/analysis/Tokenizer.java (original)
+++ lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/analysis/Tokenizer.java Mon Feb 13 16:38:01 2012
@@ -42,7 +42,7 @@ public abstract class Tokenizer extends
/** Construct a token stream processing the given input. */
protected Tokenizer(Reader input) {
- this.input = CharReader.get(input);
+ this.input = input;
}
/** Construct a tokenizer with null input using the given AttributeFactory.
@@ -56,7 +56,7 @@ public abstract class Tokenizer extends
/** Construct a token stream processing the given input using the given AttributeFactory. */
protected Tokenizer(AttributeFactory factory, Reader input) {
super(factory);
- this.input = CharReader.get(input);
+ this.input = input;
}
/** Construct a token stream processing the given input using the given AttributeSource.
@@ -70,7 +70,7 @@ public abstract class Tokenizer extends
/** Construct a token stream processing the given input using the given AttributeSource. */
protected Tokenizer(AttributeSource source, Reader input) {
super(source);
- this.input = CharReader.get(input);
+ this.input = input;
}
/** By default, closes the input Reader. */