File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/test/java/com/monitorjbl/xlsx Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 118118 <dependency >
119119 <groupId >xerces</groupId >
120120 <artifactId >xercesImpl</artifactId >
121- <version >2.4 .0</version >
121+ <version >2.5 .0</version >
122122 </dependency >
123123 <dependency >
124124 <groupId >org.slf4j</groupId >
Original file line number Diff line number Diff line change 11package com .monitorjbl .xlsx ;
22
33import com .monitorjbl .xlsx .exceptions .MissingSheetException ;
4+ import org .apache .poi .openxml4j .opc .OPCPackage ;
45import org .apache .poi .ss .usermodel .Cell ;
56import org .apache .poi .ss .usermodel .DateUtil ;
67import org .apache .poi .ss .usermodel .Row ;
@@ -451,4 +452,11 @@ public void testNullValueType() throws Exception {
451452 }
452453 }
453454 }
455+
456+ @ Test
457+ public void testClosingFiles () throws Exception {
458+ OPCPackage o = OPCPackage .open (new File ("src/test/resources/blank_cell_StringCellValue.xlsx" ));
459+
460+ o .close ();
461+ }
454462}
You can’t perform that action at this time.
0 commit comments