ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java
Date Wed, 26 Jan 2005 20:12:52 GMT
mbenson     2005/01/26 12:12:52

  Modified:    src/main/org/apache/tools/ant ComponentHelper.java
  Log:
  Oops, got | and ^ confused... :(
  
  Revision  Changes    Path
  1.46      +1 -1      ant/src/main/org/apache/tools/ant/ComponentHelper.java
  
  Index: ComponentHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ComponentHelper.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- ComponentHelper.java	20 Jan 2005 16:58:56 -0000	1.45
  +++ ComponentHelper.java	26 Jan 2005 20:12:51 -0000	1.46
  @@ -583,7 +583,7 @@
       private boolean sameDefinition(
           AntTypeDefinition def, AntTypeDefinition old) {
           boolean defValid = validDefinition(def);
  -        boolean sameValidity = !(defValid | validDefinition(old));
  +        boolean sameValidity = !(defValid ^ validDefinition(old));
           return sameValidity && (!defValid || def.sameDefinition(old, project));
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message