Commit Graph

1063 Commits

Author SHA1 Message Date
Fredrik Westermarck 8ec0fe03ec Fixed some typos in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137818 13f79535-47bb-0310-9956-ffa450edef68
2004-02-26 21:10:01 +00:00
Gary D. Gregory c03bc5f6ce Add support for java.awt.headless (Java 1.4.)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137817 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 00:25:29 +00:00
Fredrik Westermarck a076adf1c1 Added a contributor.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137816 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 22:38:55 +00:00
Fredrik Westermarck fd3858e7e1 Added isAsciiPrintable() http://issues.apache.org/bugzilla/show_bug.cgi?id=22489.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137815 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 22:31:43 +00:00
Fredrik Westermarck 0ca766679c Renamed methods so that they follow the "MethodNameEvenForAcronyms"-scheme.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137814 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 22:22:51 +00:00
Gary D. Gregory 687abc5024 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27054
Fixes to some Javadoc errors in ClassUtils
Submitted by:	Janek Bogucki
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137813 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 06:01:28 +00:00
Gary D. Gregory 56de34db0f Copied RELEASE-NOTES.txt to RELEASE-NOTES-2.0.txt
RELEASE-NOTES.txt now tracks an upcomming 2.1.
lang.enum.*:
	Deprecated and replaced by org.apache.commons.lang.enums.* and will be
	removed in version 3.0. All classes in this package are deprecated and 
	repackaged to org.apache.commons.lang.enums since enum is a Java 1.5 
	keyword.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137812 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 04:36:06 +00:00
Gary D. Gregory 4dcfc2fbb1 lang.enum.*:
Deprecated and replaced by org.apache.commons.lang.enums.* and will be
	removed in version 3.0. All classes in this package are deprecated and 
	repackaged to org.apache.commons.lang.enums since enum is a Java 1.5 
	keyword.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137811 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 04:34:20 +00:00
Henri Yandell 780ea1e255 linked proposal in
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137810 13f79535-47bb-0310-9956-ffa450edef68
2004-02-20 07:02:55 +00:00
Fredrik Westermarck ccd24d26f8 Using ArrayUtils.isEmpty().
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137809 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:31:19 +00:00
Stephen Colebourne fc6b3de4e1 Add notice to builds
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137808 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:29:35 +00:00
Stephen Colebourne 1d76a967b2 Add blank line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137807 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:23:04 +00:00
Fredrik Westermarck c2ee7dde50 Using StringUtils.isEmpty().
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137806 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:04:03 +00:00
Stephen Colebourne a80c77930f Fix spelling and scope
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137805 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 01:34:38 +00:00
Gary D. Gregory 01114af165 Make CLASS_NAME_COMPARATOR and PACKAGE_NAME_COMPARATOR work on Java 1.2.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137804 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 01:24:50 +00:00
Gary D. Gregory 501f19cf0c Organize Imports.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137803 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 23:22:30 +00:00
Gary D. Gregory 080c7fe51f Apply Apache License Version 2.0 by following the instructions at http://www.apache.org/dev/apply-license.html.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137802 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 23:20:38 +00:00
Gary D. Gregory f58370a13f Apply Apache License Version 2.0 by following the instructions at http://www.apache.org/dev/apply-license.html.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137801 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 23:13:37 +00:00
Gary D. Gregory 43e94f47ba Apply Apache License Version 2.0 by following the instructions at http://www.apache.org/dev/apply-license.html.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137800 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 23:06:54 +00:00
Fredrik Westermarck a856bd367c Using isEmpty() internally.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137799 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 22:32:50 +00:00
Henri Yandell b2fd164c2e proposal for lang in xdoc form
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137798 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 09:43:55 +00:00
Mark R. Diggory 7737b36cc6 Adding Commons Site Look & Feel configuration to all jakarta-commons/<project>/project.properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137797 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 04:11:38 +00:00
Gary D. Gregory ebebaf310b PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26922
[lang] public static boolean DateUtils.equals(Date dt1, Date dt2) ?
Updated testDateEqualsJava(): The behavior is different b/w Sun Java 1.3.1_10 and 1.4.2_03.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137796 13f79535-47bb-0310-9956-ffa450edef68
2004-02-17 00:55:57 +00:00
Gary D. Gregory 0b92157846 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26961
[lang][patch] Remove redundant check for null separator in StringUtils#join
Submitted by:	Janek Bogucki
Reviewed by:	Gary Gregory.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137795 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 23:48:10 +00:00
Gary D. Gregory c524021b45 Somehow (c) was not 2004.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137794 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 23:40:47 +00:00
Gary D. Gregory c7029589f7 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26922
[lang] public static boolean DateUtils.equals(Date dt1, Date dt2) ?
Record a test for future reference when having this chat.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137793 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 23:39:03 +00:00
Mark R. Diggory 031a9bec88 included navigation should be from commons-build now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137792 13f79535-47bb-0310-9956-ffa450edef68
2004-02-15 16:08:42 +00:00
Gary D. Gregory 0fcfcfdc65 PR: Bugzilla Bug 26943 [patch] Class and Package Comparators for ClassUtils
Submitted by:	alban.peignier
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137791 13f79535-47bb-0310-9956-ffa450edef68
2004-02-15 00:51:38 +00:00
Stephen Colebourne 89112beabd Add Maarten Coene
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137790 13f79535-47bb-0310-9956-ffa450edef68
2004-02-14 01:16:24 +00:00
Stephen Colebourne 20393e09aa Add getLength method
bug 26594, from Maarten Coene


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137789 13f79535-47bb-0310-9956-ffa450edef68
2004-02-14 01:15:20 +00:00
Stephen Colebourne 7ba2d8aa0d Add validate methods for all elements same type
bug 25683, from Norm Deane


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137788 13f79535-47bb-0310-9956-ffa450edef68
2004-02-14 00:48:20 +00:00
Stephen Colebourne ca635e0108 Improve Tokenizer with CSV and TSV plus change default to StringTokenizer like
includes code from Matthew Inger


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137787 13f79535-47bb-0310-9956-ffa450edef68
2004-02-14 00:31:55 +00:00
Gary D. Gregory 83406a3ffa Javadoc and added some system properties.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137786 13f79535-47bb-0310-9956-ffa450edef68
2004-02-14 00:23:50 +00:00
Stephen Colebourne f93ddafa96 Add comment about new Tokenizer class in split method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137785 13f79535-47bb-0310-9956-ffa450edef68
2004-02-13 23:32:39 +00:00
Stephen Colebourne 52789c773f Handle broken test actually working on Linux Sun JDK 1.4.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137784 13f79535-47bb-0310-9956-ffa450edef68
2004-02-13 23:17:45 +00:00
Gary D. Gregory 1bcd76f148 Typo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137783 13f79535-47bb-0310-9956-ffa450edef68
2004-02-13 02:03:54 +00:00
Gary D. Gregory 8ce02ef872 Added @since and @version tags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137782 13f79535-47bb-0310-9956-ffa450edef68
2004-02-13 01:58:50 +00:00
Gary D. Gregory 2c86461512 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137781 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 20:09:11 +00:00
Gary D. Gregory b3bc7ad11d PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=26877
[lang] Add SystemUtils.AWT_TOOLKIT.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137780 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 01:58:33 +00:00
Stephen Colebourne 8e0c629295 Improve tests to check result of enum equals
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137779 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 01:00:05 +00:00
Gary D. Gregory bff3f2fdb1 Forgot to clean up exception name in the previous commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137778 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 00:49:30 +00:00
Gary D. Gregory e902406b03 equals() Javadoc now mentions the separate class loader case.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137777 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 00:48:30 +00:00
Gary D. Gregory 9e8140e03a PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=26876
[lang] Enum.equals does not handle different class loaders.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137776 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 00:45:09 +00:00
Gary D. Gregory cb9f2a2175 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26656
[lang][patch] Validate.java: fixes comment skew, removes unused loop counter.
Submitted by:	Janek Bogucki
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137775 13f79535-47bb-0310-9956-ffa450edef68
2004-02-11 23:33:23 +00:00
Gary D. Gregory 7c1dda3e75 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23174
Submitted by:	Maarten Coene, Arun Mammen Thomas
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137774 13f79535-47bb-0310-9956-ffa450edef68
2004-02-11 20:08:49 +00:00
Mark R. Diggory fa49e30a5e Moving extension of global project.xml to ../commons-build/project.xml on those project.xml files which originally had it in place.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137773 13f79535-47bb-0310-9956-ffa450edef68
2004-02-10 19:15:05 +00:00
Fredrik Westermarck c8f42adee2 Fixed bug in getDateInstance(int, TimeZone, Locale). See bz #26646.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137772 13f79535-47bb-0310-9956-ffa450edef68
2004-02-04 18:52:59 +00:00
Fredrik Westermarck d1b0159e59 Added test case for getDateInstance(int, Locale).
Removed whitespaces from lines that was supposed to be empty.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137771 13f79535-47bb-0310-9956-ffa450edef68
2004-02-04 18:49:10 +00:00
Stephen Colebourne 644fcb88d3 Switch to Apache Licence 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137770 13f79535-47bb-0310-9956-ffa450edef68
2004-02-03 22:34:44 +00:00
Gary D. Gregory 11bd2237bf Bugzilla Bug 26056 [lang] Add methods to ArrayUtils: add at end and insert-like ops
Added methods: primitiveType[] add(primitiveType[], primitiveType)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137769 13f79535-47bb-0310-9956-ffa450edef68
2004-02-03 22:14:24 +00:00