Commit Graph

2947 Commits

Author SHA1 Message Date
Sebastian Bazley ffbc41e725 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132388 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 12:44:13 +00:00
Henri Yandell 61cba9d9a4 Fixing accidental switch to 'int' in r1131309
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1131310 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 02:58:30 +00:00
Henri Yandell c1cb131f71 Adding comment on refactoring of API before making it public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1131309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 02:44:27 +00:00
Stephen Colebourne 0ad6c30b0e Refactor Range with lots of new methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127565 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:35 +00:00
Stephen Colebourne f5682c4c70 Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127563 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:04 +00:00
Stephen Colebourne 3513ecb0b7 Fix toString(format)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127554 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:29:31 +00:00
Stephen Colebourne 7e6b6fce8d Remove Formattable from Pair
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127546 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 14:44:04 +00:00
Stephen Colebourne 3933e63c7c Make ImmutablePair final; Minor fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127544 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 14:35:42 +00:00
Gary D. Gregory 0431c59fe0 Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1125416 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 14:33:17 +00:00
Matthew Jason Benson facd90be6f rename MutablePair setters for bean compatibility
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1124337 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 17:01:47 +00:00
Gary D. Gregory 7138e054f3 Generate test jar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099665 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 02:13:06 +00:00
Matthew Jason Benson 68ba5d616a sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099434 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 12:51:15 +00:00
Sebastian Bazley 543bbb4d64 Suppress boxing warnings that are deliberate
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099422 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:44:41 +00:00
Sebastian Bazley 78de63c7c0 Make boxing explicit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099420 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:42:56 +00:00
Stephen Colebourne 154da561fd Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099416 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:22:29 +00:00
Stephen Colebourne 7699d19aaa Test impact on Pair of being Formattable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099414 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:13:51 +00:00
Stephen Colebourne f1db2dda80 Inline the Pair toString for performance, and specify the format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099413 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:13:17 +00:00
Sebastian Bazley bfb76fae2f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099412 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:11:39 +00:00
Stephen Colebourne 3149ea2511 Change Calendar.getInstance to new GregorianCalendar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099402 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:39:14 +00:00
Stephen Colebourne 5f9fd135a2 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099401 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:37:14 +00:00
Stephen Colebourne 08cfc7ffba Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099398 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:25:12 +00:00
Oliver Heger ad97691891 Fixed a test failure which occurred under certain circumstances (Java 1.5 with default locale GERMAN).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1098403 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 20:27:16 +00:00
Henri Yandell aed9a4bd31 Updating the clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097701 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 06:23:29 +00:00
Henri Yandell a1eee7b8d4 Adding notes on getSimpleName and FormattableUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097700 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 06:14:46 +00:00
Henri Yandell 8a39fd4651 Setting back to 3.0 for RC generation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097698 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 06:08:22 +00:00
Henri Yandell f597044b43 Noting the difference between getSimpleName and getShortName in the getShortName javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097697 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 05:59:53 +00:00
Gary D. Gregory 7f189bd416 Add test that omits arg to invoke constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097487 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 14:49:45 +00:00
Sebastian Bazley 2e73a40df5 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096718 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 10:44:07 +00:00
Gary D. Gregory 3822209578 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096574 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 19:51:57 +00:00
Gary D. Gregory 8691eb0328 Set SIMPLEST_FORMAT to "%s", which is simpler that "%1$s"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096573 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 19:41:08 +00:00
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