Skip to content

Commit 6bb03f3

Browse files
committed
Edit comment
2 parents 2f3d417 + c3f183d commit 6bb03f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/cn/clxy/upload/ReadTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import 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
*/
2323
public 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

0 commit comments

Comments
 (0)