nico 02/01/28 10:56:13
Modified: src/main/org/apache/tools/ant/taskdefs Tstamp.java
Log:
- Fix: It was not possible to use variant in the locale pattern - variant
overwrote the country and you got the default Locale for the language.
- Updated Copyright
Revision Changes Path
1.19 +2 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
Index: Tstamp.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tstamp.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Tstamp.java 20 Jan 2002 20:45:56 -0000 1.18
+++ Tstamp.java 28 Jan 2002 18:56:13 -0000 1.19
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2000-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -158,7 +158,7 @@
if (st.hasMoreElements()) {
country = st.nextToken();
if (st.hasMoreElements()) {
- country = st.nextToken();
+ variant = st.nextToken();
if (st.hasMoreElements()) {
throw new BuildException( "bad locale format",
getLocation());
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>