Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
sonar corrections
Browse files Browse the repository at this point in the history
Signed-off-by: berthaultval <[email protected]>
  • Loading branch information
berthaultval committed Feb 5, 2020
1 parent 4b17316 commit e8ac475
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public final class CopyManager {
private static final String NODE_COPY_TYPE = "@NODE@";
private static final String COPY_SIGNATURE = "@COPY_SIGNATURE@";
private static final long COPY_EXPIRATION_TIME = 6;
private static final long MIN_DISK_SPACE_THRESHOLD = 10;
private static final Logger LOGGER = LoggerFactory.getLogger(CopyManager.class);
private static final String TEMP_DIR_PREFIX = "powsybl_node_export";
private static final long CLEANUP_DELAY = 36000;
Expand Down Expand Up @@ -270,7 +269,7 @@ private String renameAndPaste(AbstractNodeBase folder, List<? extends AbstractNo
throw new CopyPasteException("Failed to rename new node");
}

private String renameSameTypeNode(ProjectFolder projectFolder, AbstractNodeBase child, CopyInfo info) throws IOException {
private String renameSameTypeNode(ProjectFolder projectFolder, AbstractNodeBase child, CopyInfo info) {
String name = info.node.getName();
String copyDuplicated = " - " + "Copy";
String copyNameBaseName = name + copyDuplicated;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public class NodeChooser<N, F extends N, D extends N, T extends N> extends GridP
private boolean success;
private Set<String> openedProjects = new HashSet<>();
private SimpleBooleanProperty deleteMenuItemDisableProperty = new SimpleBooleanProperty(false);
private final CopyManager localArchiveManager = CopyManager.getInstance();

private BooleanProperty copied = new SimpleBooleanProperty(false);

Expand Down

0 comments on commit e8ac475

Please sign in to comment.