remove byte casting in test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433728 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-01-15 23:06:17 +00:00
parent 02b70405bf
commit 247d66b0d4
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public class TestNorms extends LuceneTestCase {
for (int i = 0; i < open.maxDoc(); i++) {
StoredDocument document = open.document(i);
int expected = Integer.parseInt(document.get(byteTestField));
assertEquals((byte)expected, (byte)normValues.get(i));
assertEquals(expected, normValues.get(i));
}
open.close();
dir.close();