Skip to content

Commit eb4f1f2

Browse files
committed
surpress some warnings about an unused variable
1 parent 0df418a commit eb4f1f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/com/marklogic/client/test/PojoFacadeTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ public void testB_ReadPojos() throws Exception {
9090
}
9191

9292
@Test
93-
// most of the queries below currently don't work because of issues in the search:search layer
94-
// but the numbers expected come from working queries at the cts:search layer
93+
// the geo queries below currently don't work yet because underlying layers are not yet ready
9594
public void testC_QueryPojos() throws Exception {
9695
StringQueryDefinition stringQuery = Common.client.newQueryManager().newStringDefinition();
9796
stringQuery.setCriteria("Tungi OR Dalatando OR Chittagong");
@@ -162,6 +161,7 @@ public void testC_QueryPojos() throws Exception {
162161
iterator = page.iterator();
163162
numRead = 0;
164163
while ( iterator.hasNext() ) {
164+
@SuppressWarnings("unused")
165165
City city = iterator.next();
166166
numRead++;
167167
}
@@ -178,6 +178,7 @@ public void testC_QueryPojos() throws Exception {
178178
iterator = page.iterator();
179179
numRead = 0;
180180
while ( iterator.hasNext() ) {
181+
@SuppressWarnings("unused")
181182
City city = iterator.next();
182183
numRead++;
183184
}
@@ -194,6 +195,7 @@ public void testC_QueryPojos() throws Exception {
194195
iterator = page.iterator();
195196
numRead = 0;
196197
while ( iterator.hasNext() ) {
198+
@SuppressWarnings("unused")
197199
City city = iterator.next();
198200
numRead++;
199201
}

0 commit comments

Comments
 (0)