ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1506052 - /ace/trunk/org.apache.ace.client.repository/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetObjectImpl.java
Date Tue, 23 Jul 2013 14:12:16 GMT
Author: marrs
Date: Tue Jul 23 14:12:16 2013
New Revision: 1506052

URL: http://svn.apache.org/r1506052
Log:
Reverted a fix I made as part of ACE-397, because I don't want to change this behaviour after
all.

Modified:
    ace/trunk/org.apache.ace.client.repository/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetObjectImpl.java

Modified: ace/trunk/org.apache.ace.client.repository/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetObjectImpl.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.repository/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetObjectImpl.java?rev=1506052&r1=1506051&r2=1506052&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.repository/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetObjectImpl.java
(original)
+++ ace/trunk/org.apache.ace.client.repository/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetObjectImpl.java
Tue Jul 23 14:12:16 2013
@@ -152,7 +152,7 @@ public class StatefulTargetObjectImpl im
     }
 
     public boolean needsApprove() {
-        return !(getStoreState() == StoreState.Approved);
+        return getStoreState() == StoreState.Unapproved;
     }
 
     public ProvisioningState getProvisioningState() {



Mime
View raw message