From dev-return-16155-archive-asf-public=cust-asf.ponee.io@syncope.apache.org Wed Aug 15 16:36:24 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 45511180626 for ; Wed, 15 Aug 2018 16:36:24 +0200 (CEST) Received: (qmail 16450 invoked by uid 500); 15 Aug 2018 14:36:23 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 16435 invoked by uid 99); 15 Aug 2018 14:36:22 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2018 14:36:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A450EE0181; Wed, 15 Aug 2018 14:36:22 +0000 (UTC) From: andrea-patricelli To: dev@syncope.apache.org Reply-To: dev@syncope.apache.org References: In-Reply-To: Subject: [GitHub] syncope pull request #81: [Syncope 1220] Support Groovy implementations in t... Content-Type: text/plain Message-Id: <20180815143622.A450EE0181@git1-us-west.apache.org> Date: Wed, 15 Aug 2018 14:36:22 +0000 (UTC) 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. ---