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:
Michael McCandless 2011-06-07 14:13:48 +00:00
parent 3814a02265
commit 3d9e264b56
1 changed files with 1 additions and 1 deletions

View File

@ -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