Skip to content

Commit 5eb9b87

Browse files
committed
address PR comments
Signed-off-by: Mitchell Gale <[email protected]>
1 parent fdd3179 commit 5eb9b87

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

integ-test/src/test/java/org/opensearch/sql/jdbc/CursorIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ public void select_all_no_cursor() {
111111
var query = String.format("SELECT * FROM %s", table);
112112
ResultSet rs = stmt.executeQuery(query);
113113
int rows = 0;
114-
for (; rs.next(); rows++)
115-
;
114+
while(rs.next())
115+
rows++;
116116

117117
var restResponse = executeRestQuery(query, null);
118118
assertEquals(rows, restResponse.getInt("total"));

integ-test/src/test/java/org/opensearch/sql/sql/DateTimeImplementationIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import org.junit.Test;
99
import org.opensearch.sql.legacy.SQLIntegTestCase;
10-
1110
import java.io.IOException;
1211

1312
import static org.opensearch.sql.util.MatcherUtils.rows;

0 commit comments

Comments
 (0)