mirror of https://github.com/apache/lucene.git
fix redundant cast compilation warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1133021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3814a02265
commit
3d9e264b56
|
@ -165,7 +165,7 @@ public class TokenSources {
|
|||
this.tokens = tokens;
|
||||
termAtt = addAttribute(CharTermAttribute.class);
|
||||
offsetAtt = addAttribute(OffsetAttribute.class);
|
||||
posincAtt = (PositionIncrementAttribute) addAttribute(PositionIncrementAttribute.class);
|
||||
posincAtt = addAttribute(PositionIncrementAttribute.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue