Skip to content

Commit

Permalink
renamed constant to be standard compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Apr 24, 2024
1 parent 1e56151 commit 98bd4ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
@CustomLog
public class FireboltResultSet extends JdbcBase implements ResultSet {
private static final String FORWARD_ONLY_ERROR = "Cannot call %s() for ResultSet of type TYPE_FORWARD_ONLY";
private static final int defaultCharBufferSize = 8192; // the default of BufferedReader
private static final int DEFAULT_CHAR_BUFFER_SIZE = 8192; // the default of BufferedReader
private final BufferedReader reader;
private final Map<String, Integer> columnNameToColumnNumber;
private final FireboltResultSetMetaData resultSetMetaData;
Expand Down Expand Up @@ -117,7 +117,7 @@ public FireboltResultSet(InputStream is, String tableName, String dbName, int bu

public static FireboltResultSet of(QueryResult queryResult) throws SQLException {
return new FireboltResultSet(new ByteArrayInputStream(queryResult.toString().getBytes()),
queryResult.getTableName(), queryResult.getDatabaseName(), defaultCharBufferSize, false, null, false);
queryResult.getTableName(), queryResult.getDatabaseName(), DEFAULT_CHAR_BUFFER_SIZE, false, null, false);

}

Expand Down

0 comments on commit 98bd4ed

Please sign in to comment.