Henri Yandell
4aa2a0ae6a
Fixing license header
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437556 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 06:23:26 +00:00
Henri Yandell
e4ff29dc98
Fixing license header
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437555 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 06:22:54 +00:00
Henri Yandell
a5a4f9067a
Fixing the ASF copyright and placing it in the NOTICE file
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437554 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 06:21:41 +00:00
Gary D. Gregory
447c1b4225
Updated Copyrights to 2006.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437239 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 22:07:15 +00:00
Gary D. Gregory
513d128773
Change "Copyright ....-2005" to "Copyright ....-2006"
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437238 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 21:54:21 +00:00
Gary D. Gregory
30a547ddc1
Change "Copyright ....-2005" to "Copyright ....-2006"
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437237 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 21:52:47 +00:00
Henri Yandell
8251419864
Updating to 2.2 release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@436674 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 06:27:16 +00:00
Henri Yandell
5290bee389
Added test for StopWatch.toSplitString
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@436673 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 06:27:02 +00:00
Henri Yandell
62bf5bfcb0
Added unit test to enforce the existence of the empty constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@436670 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 06:11:47 +00:00
Henri Yandell
95e3fccc98
Set the milliseconds to 0 to stop unit tests sometimes failing. Thanks Jörg
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@433527 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 05:46:45 +00:00
Stephen Colebourne
07b7795b33
LANG-259 - Fix compareTo to check the type is the same
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432748 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 22:21:47 +00:00
Stephen Colebourne
d9c6932a6e
Ensure classes are the same in Enum.compareTo
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432703 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 19:51:26 +00:00
Stephen Colebourne
14172271a3
Change protected to package scope
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432694 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 19:31:37 +00:00
Gary D. Gregory
0e2905ef36
Access to enclosing constructors is emulated by a synthetic accessor methods. Increasing its visibility will improve your performance (Eclipse compiler).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432025 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 20:36:35 +00:00
Gary D. Gregory
eb68acff59
Make sure this exception code does not depend on Java 1.4 nested exceptions. SVN revision 38990 does not compile with Java 1.3.1.
...
Compiled with Sun Java 1.3.1_15
Tested with Sun Java 1.3.1_15
Tested with Sun Java 1.4.2_12
Tested with Sun Java 1.5.0_08
All of the above on Windows XP SP2 + patches.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432024 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 20:34:01 +00:00
Stephen Colebourne
e6cde16e0a
LANG-271 - Change tests now JDK1.6 states the US has two national languages
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430537 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 21:26:27 +00:00
Henri Yandell
69b1599585
Switching viewcvs url to viewvc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:12:13 +00:00
Henri Yandell
d23a64cb86
Switching viewcvs url to viewvc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430244 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:06:59 +00:00
Stephen Colebourne
5fa96c51b0
Enhance StrSubtstitutor with StringBuffer methods and replaceIn() methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430176 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:52:45 +00:00
Gary D. Gregory
051484c740
Unnecessary cast from char to int
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430168 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:21:38 +00:00
Gary D. Gregory
5d915eb6c6
Format method for legibility (added some spaces in expressions.)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430167 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:18:43 +00:00
Gary D. Gregory
06ebaca91c
Unnecessary cast from char to int
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430166 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:16:21 +00:00
Gary D. Gregory
2ef7b77769
Remove unused import java.util.Date
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430165 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:14:51 +00:00
Gary D. Gregory
279675745a
Remove unused import java.lang.reflect.Field
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430164 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:14:15 +00:00
Gary D. Gregory
e3d0e94e71
Unnecessary cast from String[] to String[]
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430163 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:11:03 +00:00
Gary D. Gregory
fdc82b0e01
Access to enclosing constructor Enum.Entry() is emulated by a synthetic accessor method. Increasing its visibility will improve your performance (Eclipse compiler).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430161 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:10:03 +00:00
Gary D. Gregory
ebed83b646
Unnecessary cast from Object to Enum.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430157 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:09:11 +00:00
Gary D. Gregory
4d472d6ac6
Access to enclosing constructor Enum.Entry() is emulated by a synthetic accessor method. Increasing its visibility will improve your performance (Eclipse compiler).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430156 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:08:34 +00:00
Gary D. Gregory
e9f981378c
Unnecessary cast from Object to Enum.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430154 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:07:04 +00:00
Stephen Colebourne
53d756b003
VariableFormatter became StrSubstitutor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429884 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 23:35:31 +00:00
Stephen Colebourne
db95187390
Create StrLookup by extraction from StrSubstitutor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429881 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 23:28:45 +00:00
Stephen Colebourne
b2b04b2284
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429877 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 23:25:52 +00:00
Stephen Colebourne
df326b1747
Rename variable for JDK1.5 compliance
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429876 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 23:24:49 +00:00
Stephen Colebourne
927e736103
Give more power to StrSubstitutor subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429507 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 23:06:41 +00:00
Gary D. Gregory
9c66638127
Javadoc comments for serialVersionUID.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429439 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 19:14:31 +00:00
Gary D. Gregory
cc407e88e2
The Javadoc comment "Lang version 1.0.1 serial compatibility" is incorrect since these classes came into existance in version 2.1.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429421 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 18:14:27 +00:00
Gary D. Gregory
bacc52875b
Adds missing serialVersionUID to Serializable classes.
...
A note from http://wiki.eclipse.org/index.php/FAQ_Why_does_the_Eclipse_compiler_create_a_different_serialVersionUID_from_javac%3F :
If you don’t explicitly define a serialVersionUID, the language requires that the VM generate one, using some function of all field and method names in the class. The problem is, the compiler generates some synthetic methods that you never see in your source file, and there is no clear specification for how these synthetic method names are generated. Any two compilers are likely to generate different method names, and so the serialVersionUID will be different. Bottom line: Always define the serialVersionUID explicitly in your source files.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@429413 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 17:57:25 +00:00
Henri Yandell
18918c66c1
Dropped the 2.1 bugfixes and new features. Moved bugzilla ids to jira ids
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428651 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 07:05:24 +00:00
Henri Yandell
49f1578e9e
Removed clover bits that were left over from the switch to cobertura
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428648 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 06:49:04 +00:00
Henri Yandell
c6744b203b
Tokenizer has been created, and DateRange/Duration are unlikely to get created.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428647 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 06:46:04 +00:00
Henri Yandell
d82abb3a8b
Removing the checkstyle.properties class. There are no checkstyle warnings, and removing the .properties file doesn't make any warnings appear, so it's safe (ish) to assume the .xml file is covering things sufficiently.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428646 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 06:44:59 +00:00
Henri Yandell
2d4e279d19
Line was longer than 120 chars - shortening
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428644 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 06:35:51 +00:00
Henri Yandell
bd9244d1e3
Removing the money/currency todo - I can't see us having that in Lang
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428643 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 06:33:47 +00:00
Henri Yandell
d3b4e154b1
Switching from 2.1 to 2.2
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@428636 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 05:59:33 +00:00
Henri Yandell
807e6d6038
Missing ) in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424901 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 04:49:58 +00:00
Stephen Colebourne
4bfa1f6cb9
Initial commit of StrSubstitutor (VariableFormatter) for review
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424871 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 01:00:37 +00:00
Stephen Colebourne
8b2b1ba0f2
Copyright dates
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424613 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 18:12:41 +00:00
Stephen Colebourne
cbf6c47104
Link builder to tokenizer properly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424612 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 18:10:16 +00:00
Stephen Colebourne
d22e559db1
Add toString
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424611 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 18:09:27 +00:00
Stephen Colebourne
7917cc095b
Allow tokenizer state to be adjusted before and after tokenizing
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424608 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 17:25:38 +00:00