User: stevensa
Date: 02/09/19 13:09:15
Modified: modules/mvcsoft/src/xdoclet/modules/mvcsoft/ejb
MVCSoftSubTask.java
Log:
Use symbolic constants for version strings
Revision Changes Path
1.9 +6 -2
xdoclet/modules/mvcsoft/src/xdoclet/modules/mvcsoft/ejb/MVCSoftSubTask.java
Index: MVCSoftSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/mvcsoft/src/xdoclet/modules/mvcsoft/ejb/MVCSoftSubTask.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -r1.8 -r1.9
--- MVCSoftSubTask.java 9 Sep 2002 15:30:39 -0000 1.8
+++ MVCSoftSubTask.java 19 Sep 2002 20:09:14 -0000 1.9
@@ -19,7 +19,7 @@
private static String DD_FILE_NAME = "mvcsoft-pm.xml";
- private String deploymentVersion = "1.0.0";
+ private String deploymentVersion = MVCSoftVersionTypes.VERSION_1_0_0;
private String connectionJndiName = "false";
@@ -126,6 +126,9 @@
*/
public static class MVCSoftVersionTypes extends
org.apache.tools.ant.types.EnumeratedAttribute
{
+ public final static String VERSION_1_0_0 = "1.0.0";
+ public final static String VERSION_1_1 = "1.1";
+
/**
* Gets the Values attribute of the MVCSoftVersionTypes object.
*
@@ -133,7 +136,8 @@
*/
public String[] getValues()
{
- return (new String[]{"1.0.0", "1.1"});
+ return (new String[]{VERSION_1_0_0, VERSION_1_1});
}
}
+
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel