clean code; clean unused import

This commit is contained in:
Kevin SuTJ
2022-07-08 15:55:38 +08:00
parent c8e30b5241
commit fdd0990afe
4 changed files with 4 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ public class UmdChapters {
int left = 0;
int chunkCnt = 0;
ByteArrayOutputStream bos = new ByteArrayOutputStream(DEFAULT_CHUNK_INIT_SIZE + 256);
List<byte[]> chunkRbList = new ArrayList<byte[]>();
List<byte[]> chunkRbList = new ArrayList<>();
while(startPos < allContents.length) {
left = allContents.length - startPos;