Skip to content

Commit

Permalink
Format JDBC driver versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Apr 22, 2023
1 parent 4a780d9 commit 3d484b9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import static java.util.Comparator.naturalOrder;
import static us.fatehi.utility.Utility.isBlank;
import static us.fatehi.utility.database.DatabaseUtility.checkConnection;

import java.sql.Connection;
import java.sql.Driver;
import java.sql.SQLException;
Expand All @@ -44,7 +43,6 @@
import java.util.ServiceLoader;
import java.util.logging.Level;
import java.util.logging.Logger;

import schemacrawler.schemacrawler.DatabaseServerType;
import schemacrawler.schemacrawler.exceptions.InternalRuntimeException;
import schemacrawler.tools.executable.commandline.PluginCommand;
Expand Down Expand Up @@ -121,7 +119,7 @@ private static void loadJdbcDrivers() {
buffer.append(String.format("%2d %50s", index, driver.getClass().getName()));
try {
buffer.append(
String.format(" %2d.%d", driver.getMajorVersion(), driver.getMinorVersion()));
String.format(" %3d.%d", driver.getMajorVersion(), driver.getMinorVersion()));
} catch (final Exception e) {
// Ignore exceptions from badly behaved drivers
}
Expand Down

0 comments on commit 3d484b9

Please sign in to comment.