Browse Source

Move Patter type into framework directory.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269176 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
7cc3b6ec22
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/framework/Pattern.java

proposal/myrmidon/src/java/org/apache/ant/modules/basic/Pattern.java → proposal/myrmidon/src/java/org/apache/myrmidon/framework/Pattern.java View File

@@ -5,7 +5,7 @@
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apache.ant.modules.basic;
package org.apache.myrmidon.framework;

import org.apache.myrmidon.api.DataType;
import org.apache.myrmidon.api.TaskException;
@@ -79,6 +79,11 @@ public class Pattern
m_condition = new Condition( false, condition );
}

public String toString()
{
return "Pattern['" + m_name + "'," + m_condition + "]" ;
}

/**
* Utility method to make sure condition unset.
* Made so that it is not possible for both if and unless to be set.

Loading…
Cancel
Save