Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
Signed-off-by: Dinu John <[email protected]>
  • Loading branch information
dinujoh committed Oct 31, 2024
1 parent fd1becf commit 4b81fc5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ public class SchemaManager {
static final String BINLOG_POSITION = "Position";
static final int NUM_OF_RETRIES = 3;
static final int BACKOFF_IN_MILLIS = 500;
public static final String COLUMN_NAME1 = "COLUMN_NAME";
public static final String TYPE_NAME = "TYPE_NAME";
static final String TYPE_NAME = "TYPE_NAME";
private final ConnectionManager connectionManager;

public SchemaManager(ConnectionManager connectionManager) {
Expand Down Expand Up @@ -66,7 +65,7 @@ public Map<String, String> getColumnDataTypes(final String database, final Strin
try (ResultSet columns = metaData.getColumns(database, null, tableName, null)) {
while (columns.next()) {
columnsToDataType.put(
columns.getString(COLUMN_NAME1),
columns.getString(COLUMN_NAME),
columns.getString(TYPE_NAME)
);
}
Expand Down

0 comments on commit 4b81fc5

Please sign in to comment.