Skip to content

Commit 27d7e01

Browse files
authored
Update AbstractSQLExecutor.java
fix code format
1 parent d41f2a4 commit 27d7e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractSQLExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,10 +711,10 @@ protected String getKey(@NotNull SQLConfig config, @NotNull ResultSet rs, @NotNu
711711
String key = rsmd.getColumnLabel(columnIndex);// dotIndex < 0 ? lable : lable.substring(dotIndex + 1);
712712
if (config.isHive()) {
713713
String table_name = config.getTable();
714-
if(AbstractSQLConfig.TABLE_KEY_MAP.containsKey(table_name)) table_name = AbstractSQLConfig.TABLE_KEY_MAP.get(table_name);
714+
if (AbstractSQLConfig.TABLE_KEY_MAP.containsKey(table_name)) table_name = AbstractSQLConfig.TABLE_KEY_MAP.get(table_name);
715715
String pattern = "^" + table_name + "\\." + "[a-zA-Z]+$";
716716
boolean isMatch = Pattern.matches(pattern, key);
717-
if(isMatch) key = key.split("\\.")[1];
717+
if (isMatch) key = key.split("\\.")[1];
718718
}
719719
return key;
720720
}

0 commit comments

Comments
 (0)