|
@@ -96,13 +96,11 @@ public class WorkerFactory {
|
|
|
String resourceKey = null;
|
|
|
for(String objId : obj_key.keySet()) {
|
|
|
resourceKey = obj_key.get(objId);
|
|
|
- if(SagaFileMoveApp.dto.keyModify.getValue() && resourceKey != null && resourceKey.contains("/")) {
|
|
|
- resourceKey = resourceKey.substring(resourceKey.lastIndexOf("/") + 1);
|
|
|
- }
|
|
|
+
|
|
|
SagaFileMoveService.fileMove(objId, resourceKey, noFileSet, nullKeySet, moveErrorSet);
|
|
|
System.out.println("--- " + movedNum);
|
|
|
updateProgress(++movedNum, totalNum);
|
|
|
- updateTitle(String.format("%.1f", 100.0 * movedNum / totalNum)+"%");
|
|
|
+ updateTitle(String.format("%.2f", 100.0 * movedNum / totalNum)+"%");
|
|
|
}
|
|
|
|
|
|
int noFileNum = noFileSet.size(), nullKeyNum = nullKeySet.size(), moveErrNum = moveErrorSet.size();
|