提交 4a4ff342 编写于 作者: K kilida

Duplicate statement in DirectoryChooserUI.java

The `if` body is equivalent to the `else` body.
上级 42c003ea
......@@ -1316,8 +1316,6 @@ public class DirectoryChooserUI extends BasicFileChooserUI {
if (fc.isDirectorySelectionEnabled() && !fc.isFileSelectionEnabled()) {
if(fc.getFileSystemView().isDrive(file)) {
return file.getPath();
} else {
return file.getPath();
}
} else {
return file.getName();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册