모델등록 수정
This commit is contained in:
@@ -230,9 +230,9 @@ public class ModelMngDto {
|
|||||||
private int chunkTotalIndex;
|
private int chunkTotalIndex;
|
||||||
|
|
||||||
public double getUploadRate() {
|
public double getUploadRate() {
|
||||||
if (this.chunkTotalIndex == 0) {
|
// if (this.chunkTotalIndex == 0) {
|
||||||
return 0.0;
|
// return 0.0;
|
||||||
}
|
// }
|
||||||
return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0;
|
return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user