You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by an...@apache.org on 2017/04/26 09:47:02 UTC

[1/2] syncope git commit: [SYNCOPE-808] logging review and cleanup

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 <an...@apache.org>
Authored: Wed Apr 26 11:42:07 2017 +0200
Committer: Andrea Patricelli <an...@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,


[2/2] syncope git commit: Merge branch '2_0_X' of https://git-wip-us.apache.org/repos/asf/syncope into 2_0_X

Posted by an...@apache.org.
Merge branch '2_0_X' of https://git-wip-us.apache.org/repos/asf/syncope into 2_0_X


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

Branch: refs/heads/2_0_X
Commit: 2b36b295051fe0e5fad072976c2c8f46deb62585
Parents: 42d131d 3672341
Author: Andrea Patricelli <an...@apache.org>
Authored: Wed Apr 26 11:46:40 2017 +0200
Committer: Andrea Patricelli <an...@apache.org>
Committed: Wed Apr 26 11:46:40 2017 +0200

----------------------------------------------------------------------
 .../systemadministration/domainsmanagement.adoc     | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------