File tree 3 files changed +2
-4
lines changed
hbase-side/hbase-side-core/src/main/java/com/dtstack/flink/sql/side/hbase
hbase-sink/src/main/java/com/dtstack/flink/sql/sink/hbase 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public ReplaceInfo getReplaceInfo(String field){
120
120
}
121
121
122
122
private List <ReplaceInfo > makeFormula (String formula ){
123
- if (formula == null || formula .length () <= 0 ) {
123
+ if (formula == null || formula .length () <= 0 ){
124
124
return Lists .newArrayList ();
125
125
}
126
126
Original file line number Diff line number Diff line change 22
22
23
23
import com .dtstack .flink .sql .enums .EUpdateMode ;
24
24
import com .dtstack .flink .sql .outputformat .AbstractDtRichOutputFormat ;
25
- import com .google .common .collect .Lists ;
26
25
import com .google .common .collect .Maps ;
27
26
import org .apache .commons .lang3 .StringUtils ;
28
27
import org .apache .flink .api .java .tuple .Tuple2 ;
41
40
import org .slf4j .LoggerFactory ;
42
41
43
42
import java .io .IOException ;
44
- import java .util .List ;
45
43
import java .util .Map ;
46
44
import java .util .Set ;
47
45
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public ReplaceInfo getReplaceInfo(String field){
130
130
131
131
private List <ReplaceInfo > makeFormula (String formula ){
132
132
if (formula == null || formula .length () <= 0 ){
133
- Lists .newArrayList ();
133
+ return Lists .newArrayList ();
134
134
}
135
135
List <ReplaceInfo > result = Lists .newArrayList ();
136
136
for (String meta : splitIgnoreQuotaBrackets (formula , "\\ +" )){
You can’t perform that action at this time.
0 commit comments