syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrea-patricelli <...@git.apache.org>
Subject [GitHub] syncope pull request #81: [Syncope 1220] Support Groovy implementations in t...
Date Wed, 15 Aug 2018 14:36:22 GMT
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.


---

Mime
View raw message