File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
fastexcel-test/src/test/java/cn/idev/excel/test/core/encrypt Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 5
5
import com .alibaba .fastjson2 .JSON ;
6
6
import lombok .extern .slf4j .Slf4j ;
7
7
import org .junit .jupiter .api .Assertions ;
8
- import org .slf4j .Logger ;
9
- import org .slf4j .LoggerFactory ;
10
8
11
9
import java .util .ArrayList ;
12
10
import java .util .List ;
16
14
*/
17
15
@ Slf4j
18
16
public class EncryptDataListener extends AnalysisEventListener <EncryptData > {
19
- private static final Logger LOGGER = LoggerFactory .getLogger (EncryptDataListener .class );
20
17
List <EncryptData > list = new ArrayList <EncryptData >();
21
18
22
19
@ Override
@@ -32,6 +29,6 @@ public void doAfterAllAnalysed(AnalysisContext context) {
32
29
Assertions .assertEquals ((int ) (context .readSheetHolder ().getSheetNo ()), 0 );
33
30
Assertions .assertEquals (
34
31
context .readSheetHolder ().getExcelReadHeadProperty ().getHeadMap ().get (0 ).getHeadNameList ().get (0 ), "姓名" );
35
- LOGGER .debug ("First row:{}" , JSON .toJSONString (list .get (0 )));
32
+ log .debug ("First row:{}" , JSON .toJSONString (list .get (0 )));
36
33
}
37
34
}
You can’t perform that action at this time.
0 commit comments