Skip to content

Commit

Permalink
added a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
nenadnoveljic committed Jul 11, 2024
1 parent d6762e7 commit 198367c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ class TestConnection implements Connection {
DatabaseMetaData getMetaData() throws SQLException {
if (metadata == null) {
return new TestDatabaseMetaData()
} else {
return metadata
}
return metadata
}

void setMetaData(DatabaseMetaData metadata) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ class TestDatabaseMetaData implements DatabaseMetaData {
String getURL() throws SQLException {
if (url == "") {
return "jdbc:testdb://localhost"
} else {
return url
}
return url
}

void setURL(String url) {
Expand Down

0 comments on commit 198367c

Please sign in to comment.