File tree Expand file tree Collapse file tree
src/main/java/cn/clxy/upload Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717import cn .clxy .upload .UploadFileService .Part ;
1818
1919/**
20- * Read big file into several parts.
20+ * Read a big file into several parts.
2121 * @author clxy
2222 */
2323public class ReadTask implements Callable <String > {
@@ -26,7 +26,7 @@ public class ReadTask implements Callable<String> {
2626 private BlockingQueue <Part > parts ;
2727
2828 /**
29- * Limited part indexes. Only these parts will be read if specified.
29+ * Limited part indexes. Only these parts will be readed if specified.
3030 */
3131 private List <Integer > indexes ;
3232
@@ -91,7 +91,7 @@ public String call() throws Exception {
9191 * @return
9292 */
9393 protected String createFileName (String fileName , int i ) {
94- return fileName + "." + i ;//start by 0.
94+ return fileName + "." + i ;// start by 0.
9595 // return fileName + (i == 0 ? "" : ("." + i));
9696 }
9797
You can’t perform that action at this time.
0 commit comments