Skip to content

Commit

Permalink
Remove unused test helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Dec 30, 2023
1 parent 8504cf7 commit 875fe1b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public abstract class BaseTestJdbcResultSet
protected abstract Connection createConnection()
throws SQLException;

protected abstract int getTestedServerVersion();

@Test
public void testDuplicateColumnLabels()
throws Exception
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,4 @@ protected Connection createConnection()
String url = format("jdbc:trino://%s", server.getAddress());
return DriverManager.getConnection(url, "test", null);
}

@Override
protected int getTestedServerVersion()
{
// Latest version
return Integer.MAX_VALUE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,6 @@ protected Connection createConnection()
return DriverManager.getConnection(trinoContainer.getJdbcUrl(), "test", null);
}

@Override
protected int getTestedServerVersion()
{
return parseInt(getTestedTrinoVersion());
}

@Override
public String toString()
{
Expand Down

0 comments on commit 875fe1b

Please sign in to comment.