Commit Graph

2917 Commits

Author SHA1 Message Date
Gary D. Gregory 28feb02b2e Add back Pair#toString(String format).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096506 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 16:00:32 +00:00
Matthew Jason Benson af9cbd35d5 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096472 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 13:28:06 +00:00
Henri Yandell a9831e81fa Renaming the newly public pad(int, char) method to repeat(char, int) [note the swap of param order]. I've also pulled the faster implementation out of repeat(String, int).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096419 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 06:38:04 +00:00
Henri Yandell f0bd811e71 Move back to 3.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096110 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 06:34:14 +00:00
Henri Yandell a4c9cd58e0 Removing empty directory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096109 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 06:24:49 +00:00
Henri Yandell e3de31d7df Removing empty directory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096108 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 06:24:25 +00:00
Henri Yandell 8634371ec0 Updating clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096106 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 06:11:56 +00:00
Henri Yandell d1b632acaf Adding javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096102 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 04:56:19 +00:00
Henri Yandell 32cd493435 Adding javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096101 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 04:55:17 +00:00
Gary D. Gregory b168f29106 Move new FormattableUtils class to .text from .util.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096058 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 21:53:14 +00:00
Gary D. Gregory 95008b9efd Make the pad method public. I can use this now :) ! The method used to be private and named padding. It is used internally and covered by unit tests through leftPad(), rightPad() and repeat().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095998 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 19:28:58 +00:00
Henri Yandell 27b468c81f moving to v21 of parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095957 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 16:18:58 +00:00
Gary D. Gregory 9d1a1d7816 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095955 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 15:57:37 +00:00
Gary D. Gregory 10e83fc8e6 Eat own dog food: Replace "" with StringUtils.EMPTY.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095935 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 13:51:53 +00:00
Matthew Jason Benson 9d2f0b9a18 Pair implements java.util.Formattable and defers toString() handling thereto.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095836 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 22:25:00 +00:00
Matthew Jason Benson 2fb208b8d8 [LANG-697] Add FormattableUtils class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095833 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 22:21:13 +00:00
Gary D. Gregory 0e3ec0b68e Add two new null-safe APIs: getSimpleName(*). See https://issues.apache.org/jira/browse/LANG-696
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095752 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 15:33:02 +00:00
Henri Yandell 9ef322c33c Refactoring FastDateFormat per LANG-462 to use the FormatCache class created for an upcoming DateParser functionality. I've kept FormatCache package-private for now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095299 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 06:51:16 +00:00
Henri Yandell 5a7a09256e Adding a test related to LANG-693 for createNumber
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095285 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 06:27:28 +00:00
Henri Yandell 9d619172ee Moving from lang.xxx to lang3.xxx
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095284 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 06:14:07 +00:00
Henri Yandell ddfb336e3e Moving indexOfAnyBut and containsAny to vararg APIs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1094098 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 04:26:20 +00:00
Henri Yandell 7d9ade1caa Moving lastIndexOfAny and indexOfAny to (CharSequence, CharSequence...) from (CharSequence, CharSequence[])
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1092824 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:44:56 +00:00
Henri Yandell e00c223382 Added more @since 3.0 CharSequence changes. Fixed an @since 3.1 to 3.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1092822 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:42:21 +00:00
Henri Yandell 7271276871 Adding @since 3.0 CharSequence tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1092817 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:26:52 +00:00
Matthew Jason Benson ad83272aa8 remove javadoc param tag for nonexistent parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091967 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 22:44:40 +00:00
Matthew Jason Benson 3c977ad1fa cure warnings for arrays of component type other than Object are specified to StringUtils.join()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091966 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 22:32:13 +00:00
Gary D. Gregory 8256dbef70 Refactor all 3 three Pair classes from o.a.c.l to o.a.c.l.tuple.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091531 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 18:29:49 +00:00
Stephen Colebourne 079cf8b020 Simplify code; Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091471 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:34:43 +00:00
Stephen Colebourne 47132a3fcc Organize imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091457 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:18:09 +00:00
Stephen Colebourne 38b539ae39 LANG-692 - Add hashCodeMulti varargs method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091452 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:17:07 +00:00
Stephen Colebourne c60aa33843 LANG-692 - Add hashCodeMulti varargs method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091448 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:13:36 +00:00
Stephen Colebourne dbcaeecb4f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091420 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 14:13:25 +00:00
Henri Yandell 7cf67797a0 Removing unncessary brackets
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091344 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 09:38:46 +00:00
Gary D. Gregory 329b2576f8 Javadoc the Java version reported by Android.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091246 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 22:49:04 +00:00
Gary D. Gregory a7530eae97 Rename getRightElement() to getRight(). Rename getLeftElement() to getLeft().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091241 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 22:39:35 +00:00
Henri Yandell 54de75b635 Noting LANG-691 in the release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091206 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 20:59:01 +00:00
Henri Yandell d827bb7604 Removing UTC_TIME_ZONE per LANG-691
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091202 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 20:52:18 +00:00
Matthew Jason Benson 7e73ff593f defer default toString() handling to toString(format)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091197 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 20:31:14 +00:00
Gary D. Gregory 8d0de8421b Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091158 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 18:10:23 +00:00
Gary D. Gregory 29066c6e89 Add Pair.toString(String)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091156 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 18:07:54 +00:00
Stephen Colebourne 37fa5d6fa4 Enhance pair classes; Shorten toString form; Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091146 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 17:48:14 +00:00
Matthew Jason Benson 25d4c7db21 remove obsolete targets, classname references from Ant build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091102 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:37:12 +00:00
Matthew Jason Benson a283547d5c ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091096 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:07:29 +00:00
Matthew Jason Benson 77c0ffce3c varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091095 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:06:32 +00:00
Matthew Jason Benson 93666dd2f2 varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091094 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:05:49 +00:00
Matthew Jason Benson 359cb03882 remove unnecessary reflection parameter args
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091091 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:41:44 +00:00
Gary D. Gregory 0734a04ca7 Use Java 5 getSimpleName API.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091086 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:20:43 +00:00
Gary D. Gregory aaadcb2b54 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091085 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:18:46 +00:00
Matthew Jason Benson ca7f616594 remove javadocs detailing things the #getCause() methods no longer do
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091084 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:18:26 +00:00
Gary D. Gregory 82ce12fee3 Add a test for default toString behavior.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091075 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:53:29 +00:00