Github user andrea-patricelli commented on a diff in the pull request:

    https://github.com/apache/syncope/pull/81#discussion_r210289517
  
    --- Diff: 
ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
 ---
    @@ -429,11 +526,16 @@ public void actionPerformed(final ActionEvent e) {
                     int result = JOptionPane.showConfirmDialog(null, "Are you 
sure to delete the item?");
                     if (result == JOptionPane.OK_OPTION) {
                         DefaultMutableTreeNode parent = 
(DefaultMutableTreeNode) node.getParent();
    -                    boolean deleted;
    +                    String nodeName = (String) node.getUserObject() ;
    +                    boolean deleted = false;
    +                try {
                         if 
(parent.getUserObject().equals(PluginConstants.MAIL_TEMPLATES)) {
    --- End diff --
    
    Invert equals.


---

Reply via email to