mirror of https://github.com/apache/lucene.git
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:
parent
aeab95d3af
commit
90ca407e77
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue