Repository: syncope
Updated Branches:
  refs/heads/2_0_X 3672341a1 -> 2b36b2950


[SYNCOPE-808] logging review and cleanup


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/42d131dd
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/42d131dd
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/42d131dd

Branch: refs/heads/2_0_X
Commit: 42d131dd23734c7a4379c217e443d19375f8a689
Parents: d7b337a
Author: Andrea Patricelli <andreapatrice...@apache.org>
Authored: Wed Apr 26 11:42:07 2017 +0200
Committer: Andrea Patricelli <andreapatrice...@apache.org>
Committed: Wed Apr 26 11:42:07 2017 +0200

----------------------------------------------------------------------
 .../ide/netbeans/view/ResourceExplorerTopComponent.java | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/42d131dd/ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
----------------------------------------------------------------------
diff --git 
a/ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
 
b/ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
index cba5c66..027b6ce 100644
--- 
a/ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
+++ 
b/ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
@@ -408,7 +408,7 @@ public final class ResourceExplorerTopComponent extends 
TopComponent {
 
             @Override
             public void actionPerformed(final ActionEvent e) {
-                int result = JOptionPane.showConfirmDialog(null, "Do you want 
to delete ?");
+                int result = JOptionPane.showConfirmDialog(null, "Are you sure 
to delete the item?");
                 if (result == JOptionPane.OK_OPTION) {
                     DefaultMutableTreeNode parent = (DefaultMutableTreeNode) 
node.getParent();
                     boolean deleted;
@@ -495,7 +495,7 @@ public final class ResourceExplorerTopComponent extends 
TopComponent {
                 public void propertyChange(final PropertyChangeEvent evt) {
                     if 
(DataObject.PROP_MODIFIED.equals(evt.getPropertyName())) {
                         //save item remotely
-                        LOG.info("Saving Mail template");
+                        LOG.info(String.format("Saving Mail template [%s]", 
name));
                         saveContent();
                     }
                 }
@@ -565,7 +565,7 @@ public final class ResourceExplorerTopComponent extends 
TopComponent {
                 public void propertyChange(final PropertyChangeEvent evt) {
                     if 
(DataObject.PROP_MODIFIED.equals(evt.getPropertyName())) {
                         //save item remotely
-                        LOG.info("Saving Report template");
+                        LOG.info(String.format("Saving Report template [%s]", 
name));
                         saveContent();
                     }
                 }
@@ -586,12 +586,6 @@ public final class ResourceExplorerTopComponent extends 
TopComponent {
             String format = temp[1];
             String key = temp[0];
 
-            LOG.info(">>>>>>>>>>>>>>> path  " + path);
-            LOG.info(">>>>>>>>>>>>>>> name " + name);
-            LOG.info(">>>>>>>>>>>>>>> templateType " + templateType);
-            LOG.info(">>>>>>>>>>>>>>> format " + format);
-            LOG.info(">>>>>>>>>>>>>>> key " + key);
-
             if (templateType.equals("Mail")) {
                 if (format.equals("txt")) {
                     mailTemplateManagerService.setFormat(key,

Reply via email to