incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ange...@apache.org
Subject svn commit: r1090150 - in /incubator/ace/trunk: ace-nodelauncher-amazon/src/main/java/org/apache/ace/nodelauncher/amazon/AmazonNodeLauncher.java ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Date Fri, 08 Apr 2011 07:40:51 GMT
Author: angelos
Date: Fri Apr  8 07:40:50 2011
New Revision: 1090150

URL: http://svn.apache.org/viewvc?rev=1090150&view=rev
Log:
The editor windows now get shown again.

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

Modified: incubator/ace/trunk/ace-nodelauncher-amazon/src/main/java/org/apache/ace/nodelauncher/amazon/AmazonNodeLauncher.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-nodelauncher-amazon/src/main/java/org/apache/ace/nodelauncher/amazon/AmazonNodeLauncher.java?rev=1090150&r1=1090149&r2=1090150&view=diff
==============================================================================
--- incubator/ace/trunk/ace-nodelauncher-amazon/src/main/java/org/apache/ace/nodelauncher/amazon/AmazonNodeLauncher.java
(original)
+++ incubator/ace/trunk/ace-nodelauncher-amazon/src/main/java/org/apache/ace/nodelauncher/amazon/AmazonNodeLauncher.java
Fri Apr  8 07:40:50 2011
@@ -212,7 +212,7 @@ public class AmazonNodeLauncher implemen
     private NodeMetadata getNodeMetadataForRunningNodeWithTag(String tag) {
         for (ComputeMetadata node : m_computeServiceContext.getComputeService().listNodes())
{
             NodeMetadata candidate = m_computeServiceContext.getComputeService().getNodeMetadata(node.getId());
-            if (candidate.getGroup().equals(tag) && candidate.getState().equals(NodeState.RUNNING))
{
+            if (tag.equals(candidate.getGroup()) && candidate.getState().equals(NodeState.RUNNING))
{
                 return candidate;
             }
         }

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=1090150&r1=1090149&r2=1090150&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
Fri Apr  8 07:40:50 2011
@@ -1114,7 +1114,7 @@ public class VaadinClient extends com.va
         }
 
         private void showEditWindow(NamedObject object, Window main) {
-            new EditWindow(object, main, m_extensionFactories);
+            new EditWindow(object, main, m_extensionFactories).show();
         }
 
         public abstract void populate();



Mime
View raw message