Skip to content

Commit

Permalink
optimize constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxt2015 committed Sep 25, 2022
1 parent ad30744 commit cacd82f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class SqlTask extends AbstractTask {

public static final int TEST_FLAG_YES = 1;

private static final String sqlSeparator = ";\n";
private static final String SQL_SEPARATOR = ";\n";

/**
* Abstract Yarn Task
Expand Down Expand Up @@ -133,7 +133,7 @@ public void handle(TaskCallBack taskCallBack) throws TaskException {
sqlParameters.getConnParams(),
sqlParameters.getVarPool(),
sqlParameters.getLimit());
String separator = sqlSeparator;
String separator = SQL_SEPARATOR;
try {

// get datasource
Expand Down

0 comments on commit cacd82f

Please sign in to comment.