removed Suppress(unused) which caused the build to fail when running with IBM Java 5

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shai Erera 2010-09-25 20:55:36 +00:00
parent aeab95d3af
commit 90ca407e77
1 changed files with 3 additions and 5 deletions

View File

@ -287,12 +287,10 @@ public class TestPositionIncrement extends LuceneTestCase {
}
Collection<byte[]> payloads = pspans.getPayload();
sawZero |= pspans.start() == 0;
for (@SuppressWarnings("unused") byte[] bytes : payloads) {
for (byte[] bytes : payloads) {
count++;
if (!VERBOSE) {
// do nothing
} else {
System.out.println(" payload: " + new String((byte[]) bytes));
if (VERBOSE) {
System.out.println(" payload: " + new String(bytes));
}
}
}