You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by aj...@apache.org on 2004/05/25 22:27:09 UTC
svn commit: rev 20448 - incubator/depot/trunk/version/src/java/org/apache/depot/version/constraint/text
Author: ajack
Date: Tue May 25 15:27:07 2004
New Revision: 20448
Modified:
incubator/depot/trunk/version/src/java/org/apache/depot/version/constraint/text/ConstraintTextFactory.java
Log:
Undid the mess I started converting text to XML for constraints.
Need a better week for that.
Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/constraint/text/ConstraintTextFactory.java
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/constraint/text/ConstraintTextFactory.java (original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/constraint/text/ConstraintTextFactory.java Tue May 25 15:27:07 2004
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.apache.depot.version.constraint.xml;
+package org.apache.depot.version.constraint.text;
import java.util.StringTokenizer;
@@ -34,8 +34,10 @@
* @version $Revision: 1.5 $
*
*/
-public class ConstraintXmlFactory {
+public class ConstraintTextFactory {
+ private final static String OPERATORS = "<=!~>";
+ private final static String OPERATOR_LIST = "<,<=,=,!=,~,>=,>";
/**
*