Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 9929185

Browse files
committed
更新
1 parent 83b5f56 commit 9929185

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/com/zhazhapan/qiniu/controller/MainWindowController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public enum DownloadWay {
162162
PRIVATE, PUBLIC
163163
}
164164

165-
/*
165+
/**
166166
* 初始化
167167
*/
168168
@FXML
@@ -409,7 +409,7 @@ public void showFileMovableDialog() {
409409
boolean move = manager.moveOrCopyFile(fb, fileInfo.getName(), tb, name, pair.getKey());
410410
if (pair.getKey() == FileAction.MOVE && move) {
411411
boolean sear = Checker.isNotEmpty(searchTextField.getText());
412-
if (fb != tb) {
412+
if (fb.equals(tb)) {
413413
// 删除数据源
414414
QiniuApplication.data.remove(fileInfo);
415415
QiniuApplication.totalLength--;

src/main/java/com/zhazhapan/qiniu/util/Utils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
* @author pantao
2626
*
2727
*/
28-
@SuppressWarnings("restriction")
29-
public class Utils extends com.sun.javafx.util.Utils {
28+
public class Utils {
3029

3130
private static Logger logger = Logger.getLogger(Utils.class);
3231

0 commit comments

Comments
 (0)