ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1083611 - in /incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin: Associations.java VaadinClient.java
Date Sun, 20 Mar 2011 23:20:01 GMT
Author: marrs
Date: Sun Mar 20 23:20:01 2011
New Revision: 1083611

URL: http://svn.apache.org/viewvc?rev=1083611&view=rev
Log:
Even more cleanup, I still forgot some print statements.

Modified:
    incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Associations.java
    incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java

Modified: incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Associations.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Associations.java?rev=1083611&r1=1083610&r2=1083611&view=diff
==============================================================================
--- incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Associations.java
(original)
+++ incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Associations.java
Sun Mar 20 23:20:01 2011
@@ -157,7 +157,6 @@ public class Associations {
             if (value != null) {
                 clear();
                 for (Object val : value) {
-                    System.out.println(" - " + m_table.getItem(val).getItemProperty(VaadinClient.OBJECT_NAME)
+ " " + val);
                     RepositoryObject lo = lookup(val);
                     if (lo != null) {
                         List related = null;

Modified: incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java?rev=1083611&r1=1083610&r2=1083611&view=diff
==============================================================================
--- incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
(original)
+++ incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Sun Mar 20 23:20:01 2011
@@ -612,7 +612,6 @@ public class VaadinClient extends com.va
                     protected void removeLinkFromRight(ArtifactObject object, RepositoryObject
other) {
                         List<Artifact2GroupAssociation> associations = object.getAssociationsWith((GroupObject)
other);
                         for (Artifact2GroupAssociation association : associations) {
-                            System.out.println("> " + association.getLeft() + " <->
" + association.getRight());
                             m_artifact2GroupAssociationRepository.remove(association);
                         }
                         m_associations.removeAssociatedItem(object);
@@ -933,7 +932,6 @@ public class VaadinClient extends com.va
                     protected void removeLinkFromRight(LicenseObject object, RepositoryObject
other) {
                         List<License2GatewayAssociation> associations = object.getAssociationsWith((GatewayObject)
other);
                         for (License2GatewayAssociation association : associations) {
-                            System.out.println("> " + association.getLeft() + " <->
" + association.getRight());
                             m_license2GatewayAssociationRepository.remove(association);
                         }
                         m_associations.removeAssociatedItem(object);
@@ -1563,13 +1561,12 @@ public class VaadinClient extends com.va
                 resources = (NodeList) xpath.evaluate("/repository/resource[@uri]", new InputSource(input),
XPathConstants.NODESET);
             }
             catch (XPathExpressionException e) {
-                System.err.println("Error evaluating XPath expression.");
-                e.printStackTrace(System.err);
+                m_log.log(LogService.LOG_ERROR, "Error evaluating XPath expression.", e);
                 throw e;
             }
         }
         catch (IOException e) {
-            e.printStackTrace(System.err);
+            m_log.log(LogService.LOG_ERROR, "Error reading repository metadata.", e);
             throw e;
         }
         finally {



Mime
View raw message