harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r575020 - /harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Date Wed, 12 Sep 2007 17:36:38 GMT
Author: smishura
Date: Wed Sep 12 10:36:37 2007
New Revision: 575020

URL: http://svn.apache.org/viewvc?rev=575020&view=rev
Log:
Remove isset check in the condition as redundant.
(Also ${@{attribute}} in the check doesn't expand as expected)

Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml?rev=575020&r1=575019&r2=575020&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml Wed Sep 12 10:36:37
2007
@@ -476,10 +476,7 @@
         <attribute name="suitename" />
         <sequential>
             <condition property="report.dir" value="${@{suitename}.report}">
-                <and>
-                    <isset property="${@{suitename}.report}" />
-                    <available file="${@{suitename}.report}" type="dir" />
-                </and>
+                <available file="${@{suitename}.report}" type="dir" />
             </condition>
         </sequential>
     </macrodef>



Mime
View raw message