2449 Commits

Author SHA1 Message Date
Henri Yandell
cf429f5324 Moving back from lang3 to lang for the exception stack traces in these test documentation comments as they indicate historical cases. LANG-563
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@889222 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:04:56 +00:00
Henri Yandell
dc0509f7eb Fixing @links to point to new lang3 package. LANG-563
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@889219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:02:50 +00:00
Henri Yandell
c6e8f706dc Renaming class package names and unit test data to use org.apache.commons.lang3. LANG-563
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@889215 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:56:38 +00:00
Henri Yandell
debc02c6d9 Changing directory name from lang to lang3. Build will fail (probably) until Java code is changed in subsequent commit. LANG-563
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@889202 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:33:51 +00:00
Henri Yandell
375d7d0954 Changing groupId (LANG-562)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@889198 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:31:27 +00:00
Niall Pemberton
ea3f8ad774 LANG-508 Fix tests broken by r885195
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@885913 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 20:27:40 +00:00
Paul C. Benedict Jr
e51cf4380e LANG-508: Allow exception message parameters as varargs, employ String#format to format exception message, full documentation update
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@885195 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 06:30:23 +00:00
Henri Yandell
92269ffa64 Updating versions of reports, fixing bugs with Cobertura and JavaNCSS. Checkstyle still not understanding generics, but the 2.4 report errors so needs more investigation before trying that.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884501 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:56:01 +00:00
Henri Yandell
e346542745 Removing broken @see
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884498 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:52:59 +00:00
Henri Yandell
4bf376b34b Removing @author on method (not legal javadoc) and adding an @see to the jira issue
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884494 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:42:27 +00:00
Henri Yandell
d21300717e Fixing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884493 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:40:13 +00:00
Henri Yandell
df925dc314 Commenting out javancss report as it errors on our source, adding taglib report, and making findbugs default as I find I need 512m now anyway to build the site
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884492 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:31:16 +00:00
Henri Yandell
b1ac38cb1b Clone the passed in array
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884490 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:29:33 +00:00
Henri Yandell
0abdedcd16 Removing imports from same package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884489 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:27:34 +00:00
Henri Yandell
ad953dc976 Fixing javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884487 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:23:16 +00:00
Henri Yandell
823eb10825 Moving 'todo' to 'TODO' to match general style
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@884486 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 10:17:31 +00:00
Oliver Heger
63e4b09f23 [LANG-501] There was a problem with inconsistent line endings in the last commit, so the svn:eol-style property was not set. Fixing now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@883101 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 17:03:10 +00:00
Oliver Heger
21df5c4fce [LANG-501] Added CallableBackgroundInitializer class with unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@883100 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 16:57:39 +00:00
Sebastian Bazley
37239c934b Generic fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882971 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 19:05:52 +00:00
Sebastian Bazley
030babab20 Rename private variable to avoid shadowing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882970 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 19:05:38 +00:00
Sebastian Bazley
765963f423 Exceptions not thrown
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882969 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:58:57 +00:00
Sebastian Bazley
a12632228f Suppress Eclipse warnings for deliberate behaviour
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882968 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:58:33 +00:00
Sebastian Bazley
9a76dcf3c9 Suppress Eclipse warnings for deliberate name shadowing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882964 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:48:48 +00:00
Sebastian Bazley
38ac11d0b7 Add some basic Comparator tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882960 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:30:09 +00:00
Sebastian Bazley
229f41046f Fix most Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882950 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:11:07 +00:00
Sebastian Bazley
55559050cf Fix generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882949 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:07:15 +00:00
Henri Yandell
d45e05d584 Adding a char Range test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882855 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 08:08:52 +00:00
Henri Yandell
5adce14980 Switched to static builder methods, allowing two of the constructors to restrict T to Comparables, and removed javadoc that discussed subclasses optimising methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882854 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 08:05:55 +00:00
Sebastian Bazley
5839d3e011 Javadoc fixes; add missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882197 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 16:40:21 +00:00
Sebastian Bazley
c4e87426ff Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882193 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 16:29:01 +00:00
Henri Yandell
fef34b82eb Implementing Serializable - part of LANG-551
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881689 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 07:11:41 +00:00
Henri Yandell
8550f4da08 Removing ArrayUtils.hashCode per LANG-492; it is now available as java.util.Arrays.hashCode
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881685 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 06:43:23 +00:00
Paul C. Benedict Jr
87c4b35e52 LANG-555: Add IS_OS_WINDOWS_7 constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881672 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 05:58:06 +00:00
Paul C. Benedict Jr
0698ab208a LANG-554: Add 1.7 check
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881671 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 05:52:01 +00:00
Stephen Colebourne
34b9c73a6d Fix to handle null input array, and remove check for NULL
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881209 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 09:30:41 +00:00
Stephen Colebourne
ac719ec4ab Move firstNonNull() to better place in file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881205 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 09:19:05 +00:00
Stephen Colebourne
a14051481e Enhance Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881204 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 09:13:49 +00:00
Henri Yandell
0714795b6f Removing the EscapeUtils/UnescapeUtils classes, and making StringEscapeUtils the replacement. Writer variants of StringEscapeUtils are dropped - instead you hit those via the translator objects. Some javadoc/testing cleanup needed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881197 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:45:55 +00:00
Henri Yandell
c090db27a4 Remove SQL from javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881181 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 07:52:35 +00:00
Henri Yandell
ab1bf739da Changing the note on high > 0x7f characters being escaped. LANG-516
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@836152 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 10:46:04 +00:00
Henri Yandell
000bac6b94 Changing the standard escapeXml method to not escape high characters. It's easier to add that back on that remove it. LANG-516 and LANG-517
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@836151 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 10:45:27 +00:00
Henri Yandell
9adbbb0bbf Rolling back r611543 for LANG-393, and removing the special handling of BigDecimal to use compareTo instead of equals because it creates an inequality with HashCodeBuilder [reported in LANG-467 by David Jones]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@836149 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 10:10:19 +00:00
Matthew Jason Benson
5646355247 [LANG-553] Add TypeUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@835975 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 20:17:47 +00:00
Henri Yandell
56e830a235 Removing old Range classes per LANG-551. New lang.Range class replaces these
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@835780 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 08:54:04 +00:00
Henri Yandell
452a6c0cd8 Adding elementCompareTo method as requested in LANG-386 (which called the method positionOfXxx)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@835777 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 08:51:08 +00:00
Henri Yandell
4c124cea28 Adding @throws and test for the ClassCastException thrown by the ComparableComparator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@835771 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 08:05:11 +00:00
Matthew Jason Benson
89af393b32 generics fixup
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@834663 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 20:59:16 +00:00
Oliver Heger
caf3f0c3c3 [LANG-545] Added ability to create a ConstantFuture object. Thanks to Stephen Colebourne for the patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@833709 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 16:37:05 +00:00
Henri Yandell
5bfa8aaf14 Adding todo note to consider final/field-usage - LANG-551
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@833363 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 11:53:38 +00:00
Henri Yandell
da7e4f3840 Adding more tests, plus a rename of lessThan to elementBefore; greaterThan to elementAfter and bugfix so the new code works - LANG-551
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@833358 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 11:45:38 +00:00