Commit Graph

836 Commits

Author SHA1 Message Date
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
Gary D. Gregory 7cacd4f813 Renamed ArrayUtils.join(Object[],Object[]) to addAll.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137768 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 20:12:16 +00:00
Stephen Colebourne fa5cac4449 Add CharUtils classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137767 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 13:00:07 +00:00
Stephen Colebourne c34043222f Deprecate id code prior to removal
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137766 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 10:12:56 +00:00
Stephen Colebourne 15a7799a4f Rollback of sort of members
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137765 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 09:57:39 +00:00
Gary D. Gregory 90ecd2e1e7 Sort members (Eclipse defaults).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137764 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 02:12:22 +00:00
Gary D. Gregory 359ac768ff Duplicate @author tags for Fredrik Westermarck.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137763 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 01:51:36 +00:00
Gary D. Gregory b4ec10a316 Three new methods and unit tests: add(Object[],Object), add(Object[],int,Object), and join(Object[],Object[]).
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26056
Submitted by:	Gary Gregory and Maarten Coene
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137762 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 01:39:58 +00:00
Stephen Colebourne 93199975fa Update section title
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137761 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 00:04:29 +00:00
Stephen Colebourne 25129656c6 Ignores
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137760 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 23:31:37 +00:00
Tim O'Brien 8410469603 A simple spelling fix for ArrayUtils JavaDoc on the clone(Object[] array) method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137759 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 00:09:10 +00:00
Fredrik Westermarck a9d8e8770a Using ArrayUtils.isEmpty() when testing arrays.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137758 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 23:24:07 +00:00
Gary D. Gregory 6903e5e8aa testIsEmpty methods now tests for nulls.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137757 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 22:55:05 +00:00
Fredrik Westermarck 79a860193f Added isEmpty for Object and primitives arrays. RFE in bugzilla (#26243).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137756 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:50:06 +00:00
Fredrik Westermarck 2e82cc4a15 Fixed a couple of typos.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137755 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:41:43 +00:00
Stephen Colebourne 191e144e9c Improve maven website with explicit links and tasks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137754 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:46:44 +00:00
Stephen Colebourne dbfdf06c03 Update to correct version number 2.1-dev
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137753 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:46:06 +00:00
Stephen Colebourne f10d9c9813 Ignore build properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137752 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:45:46 +00:00
Stephen Colebourne 0d4f76d6f6 Make shared keys private scope not public as not really part of API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137751 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:20:12 +00:00
Stephen Colebourne 5085298086 Use @throws instead of @exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137750 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:17:33 +00:00
Stephen Colebourne a8b0d86698 Align apache logo vertically
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137749 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:16:31 +00:00
Tim O'Brien 72db2f77d9 Updated most of the commons project.properties files, made sure that the dev process points to the commons charter. Also, changed the powered by logo to use the less distracting feather logo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137748 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 06:34:23 +00:00
Tim O'Brien 8a9baf0e02 Commons Lang Maven site now has a white banner background. A commons logo, a link back to Jakarta commons in the top nav. The site builds with Maven RC1.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137747 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 03:57:52 +00:00
Gary D. Gregory 4e0b6de05a PR: 25227
Obtained from: Discussion around http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25227


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137746 13f79535-47bb-0310-9956-ffa450edef68
2004-01-10 02:58:36 +00:00
Fredrik Westermarck 417f6b5b19 Removed typo in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137745 13f79535-47bb-0310-9956-ffa450edef68
2004-01-10 01:59:40 +00:00
Fredrik Westermarck 1e818f6bbd Added nullhandling tests for isEquals.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137744 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 17:54:28 +00:00
Fredrik Westermarck 23b6d90ccf Fixed typo in javadoc for isEquals, repored by Cameron Hayne, hayne at sympatico dot ca.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137743 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 17:50:40 +00:00
Gary D. Gregory f863d668f3 PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=25849
Added to SystemUtils: getJavaHome, getJavaIoTmpDir, getUserDir, getUserHome.
Sorted source (Eclispe).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137742 13f79535-47bb-0310-9956-ffa450edef68
2003-12-31 22:01:06 +00:00