Hide NPE from ArrayUtils as IAE
23 lines of code changed in:
Make ClassUtils handle null more nicely
30 lines of code changed in:
Unify exception handling re IAE
34 lines of code changed in:
Fix RandomStringUtils to not throw NPE all the time
79 lines of code changed in:
Extra tests suggested by Clover
45 lines of code changed in:
Extra tests suggested by Clover
8 lines of code changed in:
Extra tests suggested by Clover
12 lines of code changed in:
Emit correct exceptions
4 lines of code changed in:
Fix CharSetUtils to not throw NPE all the time
273 lines of code changed in:
Add replaceChars() to StringUtils
Deprecate translate() on CharSetUtils
149 lines of code changed in:
Added note that IllegalArgumentException should be thrown when a bad argument
of 'null' is passed in and not NullPointerException.
Also a note that XxxUtils classes should suppress Exceptions when sensible.
8 lines of code changed in:
Added note that XxxUtils classes are not to be final.
2 lines of code changed in:
Bring EnumUtils public constructor testing in line with main package
21 lines of code changed in:
Lang version 1.0.1 serial compatability
7 lines of code changed in:
Extra tests and optimisations suggested by Clover
161 lines of code changed in:
Additional tests as suggested by Clover report
275 lines of code changed in:
Fixes arising from Clover report
12 lines of code changed in:
Update javadoc to better describe method
16 lines of code changed in:
Make package scoped
Format as per the [lang] coding standards
50 lines of code changed in:
Backed the 1.0.1 out. Maybe it doesn't make sense.
2 lines of code changed in:
Added in the bugs fixed in the last few weeks.
Changed comment to say that these are the changes since 1.0.1.
10 lines of code changed in:
Changed so it stops putting .html files into the jar file.
2 lines of code changed in:
Javadoc fixes and improved tests
bug 21952, from Phil Steitz
77 lines of code changed in:
Updated version so that new builds will be rc2.
1 lines of code changed in:
Redo null/empty string checking for performance
16 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
The private field StringEscapeUtils.DEFAULT_ENTITIES is never read locally StringEscapeUtils.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang line 80 July 28, 2003 9:17:25 AM
1 lines of code changed in:
Fix http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21904 as suggested (but with the guard clause factored in a method.)
93 lines of code changed in:
Remove final status, classes can be subclassed
4 lines of code changed in:
Update padding to be thread-safe
14 lines of code changed in:
Variables renamed to capitals
2 lines of code changed in:
Declare variables final, and rename to capitals
15 lines of code changed in:
Declare variable final
2 lines of code changed in:
Add test for indexOf edge case
2 lines of code changed in:
Comment out unreliable test based on stack trace
4 lines of code changed in:
Handle JDK1.2/JDK1.3 bug in String.indexOf
6 lines of code changed in:
Fix bug in isNestedThrowable, shown on JDK<1.4
2 lines of code changed in:
Comment out checkstyle to allow for maven-beta10
bug 21809
2 lines of code changed in:
Update null handling in ExceptionUtils
236 lines of code changed in:
Update null handling in ExceptionUtils
274 lines of code changed in:
Javadoc improvements
6 lines of code changed in:
Fix Javadoc troubles
from Phil Steitz
12 lines of code changed in:
In 2 places, removed local var def before return of var, replaced with actual expression.
This follows the other methods' code pattern.
3 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type int for expression of type int Fraction.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/math line 391 July 25, 2003 5:56:34 PM
2 lines of code changed in:
Avoid Javadoc warning with Standard Doclet version 1.4.2.
6 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type int for expression of type char Entities.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang line 643 July 23, 2003 11:22:37 AM
Unnecessary cast to type int for expression of type char. It is already compatible with the argument type int Entities.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang line 642 July 23, 2003 11:22:37 AM
3 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type int for expression of type char. It is already compatible with the argument type int EntitiesTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang line 130 July 23, 2003 11:22:39 AM
3 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type int for expression of type char RandomStringUtils.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang line 259 July 23, 2003 11:22:36 AM
Unnecessary cast to type int for expression of type char. It is already compatible with the argument type int RandomStringUtils.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang line 258 July 23, 2003 11:22:36 AM
3 lines of code changed in:
Change as recommended by findBugs
(static variables private or final, and Boolean constructor optimisation)
10 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type String[] for expression of type Object[]. It is already compatible with the argument type Object NestableDelegate.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/exception line 378 July 23, 2003 11:22:36 AM
2 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type Object for expression of type Object ToStringStyle.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 420 July 23, 2003 11:22:36 AM
Unnecessary cast to type Object for expression of type Object ToStringStyle.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 422 July 23, 2003 11:22:36 AM
3 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type int for expression of type byte. It is already compatible with the argument type int HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 471 July 23, 2003 11:22:36 AM
Unnecessary cast to type int for expression of type char. It is already compatible with the argument type int HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 460 July 23, 2003 11:22:36 AM
Unnecessary cast to type int for expression of type short. It is already compatible with the argument type int HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 449 July 23, 2003 11:22:36 AM
4 lines of code changed in:
Remove unneeded String constructor as found by findBugs
2 lines of code changed in:
Javadoc and tests for ObjectUtils
52 lines of code changed in:
Rename slice functions to substringAfter/substringBefore
252 lines of code changed in:
Update slice methods to be more consistent
from Phil Steitz
39 lines of code changed in:
Add extra example code javadoc and related tests
bug 21797, from Phil Steitz
459 lines of code changed in:
Increase explanation comment, requested by Gary Gregory
8 lines of code changed in:
Fix stupid compile error....
2 lines of code changed in:
Javadoc fixes
bug 21758, from Pete Gieser
208 lines of code changed in:
Javadoc fixes
bug 21758, from Pete Gieser
28 lines of code changed in:
Reverse recent addition of date formatting. Better solution required.
73 lines of code changed in:
Fix class so IS_JAVA_* and IS_OS_* constants work correctly.
bug 21767, from Tetsuya Kaneuchi
284 lines of code changed in:
Change ant script to improve readability
22 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Superfluous semicolon NumberUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 157 July 20, 2003 12:01:26 PM
Superfluous semicolon NumberUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 168 July 20, 2003 12:01:26 PM
Superfluous semicolon NumberUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 179 July 20, 2003 12:01:26 PM
Superfluous semicolon NumberUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 190 July 20, 2003 12:01:26 PM
Superfluous semicolon NumberUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 201 July 20, 2003 12:01:26 PM
Superfluous semicolon NumberUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 212 July 20, 2003 12:01:26 PM
7 lines of code changed in:
Missing '.' caused the Javadoc warning:
[javadoc] Generating C:\cvs-store\apache.org\jakarta\commons\lang\dist\docs\api\index-all.html...
[javadoc] "<p>Append to the <code>toString</code> a <code>Date</code>
[javadoc] value, using the optional <code>DateFormat</code>"
[javadoc] C:\cvs-store\apache.org\jakarta\commons\lang\src\java\org\apache\commons\lang\builder\ToStringStyle.java:476: warning - The first sentence is interp
reted to be:
[javadoc] This sentence is different from what will be interpreted as the first sentence in the
[javadoc] next major release (when that interpretation will be internationalized), which is:
[javadoc] "<p>Append to the <code>toString</code> a <code>Date</code>
[javadoc] value, using the optional <code>DateFormat</code></p>"
[javadoc] To avoid this note, change the doc comment to make this a proper first sentence, then
[javadoc] use -breakiterator from that point forward, which will output this new sentence.
241 lines of code changed in:
Javadocs now links to the JRE 1.2 Sun Javadoc (1.2 is the [lang] base requirement).
2 lines of code changed in:
Update Javadoc examples
Change mid() to accept invalid startPos
110 lines of code changed in:
Update Javadoc and tests
bug 21750, from Phil Steitz
225 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Superfluous semicolon RandomUtilsTest.java Apache Jakarta Commons/lang/src/test/org/apache/commons/lang/math line 315 July 18, 2003 8:21:31 PM
2 lines of code changed in:
Updates pre 2.0
8 lines of code changed in:
Update null handling behaviour and documentation
bug 21734, from Phil Steiz
165 lines of code changed in:
Organize imports
31 lines of code changed in:
Remove defaultString(Object) from StringUtils
Add toString(Object) to ObjectUtils
57 lines of code changed in:
Add more javadoc example code
Ensure empty string behaviour documented in example code
186 lines of code changed in:
Add summary javadoc section to StringUtils class
Rename reverseDelimitedString to reverseDelimited
61 lines of code changed in:
Add new method center(String, int, char) to complete API
Rework padding internals
Example javadoc difference()/differenceAt()
Remove dependency on NumberUtils
319 lines of code changed in:
Fix wrong javadoc
3 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
The static field DateFormat.FULL should be accessed directly FastDateFormat.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/time line 112 July 19, 2003 5:17:12 PM
The static field DateFormat.LONG should be accessed directly FastDateFormat.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/time line 116 July 19, 2003 5:17:12 PM
The static field DateFormat.MEDIUM should be accessed directly FastDateFormat.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/time line 120 July 19, 2003 5:17:12 PM
The static field DateFormat.SHORT should be accessed directly FastDateFormat.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/time line 124 July 19, 2003 5:17:12 PM
5 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
Superfluous semicolon MethodUtils.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/reflect line 491 July 18, 2003 8:21:29 PM
2 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
The static method setAccessible(AccessibleObject[], boolean) from the type AccessibleObject should be accessed directly ReflectionToStringBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 346 July 18, 2003 8:21:31 PM
8 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
The static method setAccessible(AccessibleObject[], boolean) from the type AccessibleObject should be accessed directly HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 341 July 18, 2003 8:21:31 PM
9 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
The static method setAccessible(AccessibleObject[], boolean) from the type AccessibleObject should be accessed directly EqualsBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 268 July 19, 2003 6:10:35 PM
7 lines of code changed in:
Group all the trim/strip methods together in source file
354 lines of code changed in:
Deprecate deleteSpaces()
Move delete methods next to replace
139 lines of code changed in:
Add new methods stripToNull/stripToEmpty to provide alternative to trim versions
91 lines of code changed in:
Add new methods for null-safe indexOf/lastIndexOf
Add new methods for contains
562 lines of code changed in:
Move IndexOf and Contains tests to StringUtilsEqualsIndexOfTest
1 lines of code changed in:
Rework isEmpty and isNotEmpty following user feedback
76 lines of code changed in:
Update null behaviour for consistency and clarity
Doument null behaviour
296 lines of code changed in:
Document null behaviour
243 lines of code changed in:
Update original file location to author tag for consistency
2 lines of code changed in:
Change error text to be more clear
8 lines of code changed in:
Update author tags
2 lines of code changed in:
Additional testing, especially in the area of whitespace
243 lines of code changed in:
Fix split to use whitespace, remove StringTokenizer
Performance tune some methods
165 lines of code changed in:
Severity Description Resource In Folder Location Creation Time
The static method setAccessible(AccessibleObject[], boolean) from the type AccessibleObject should be accessed directly CompareToBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 254 July 18, 2003 7:11:22 PM
7 lines of code changed in:
Minor performance tweaks, and some extra tests
87 lines of code changed in:
Fixed leftPad() and rightPad() to correctly handle multi letter pad strings
46 lines of code changed in:
Added an ISO 8601 formatter for the date time extended format used in durations, with XML Schema durations particularly in mind.
Note that the util class is still a package level class only.
26 lines of code changed in:
Added an ISO 8601 formatter for the date time extended format used in durations, with XML Schema durations particularly in mind.
Note that this is still a package level class only.
79 lines of code changed in:
PR: 21715
Obtained from: commons-dev
Submitted by: KANEUCHI Tetsuya [mailto:tetsuyak@ka2.so-net.ne.jp]
Reviewed by: Gary Gregory
2 lines of code changed in:
Null handling changes
Javadoc fixes and tidying
File layout grouping
948 lines of code changed in:
Update Null handling in StringUtils to handle nulls quietly
26 lines of code changed in:
Update Null handling in StringUtils to handle nulls quietly
484 lines of code changed in:
Remove StringUtils.unescape
Its deprecated, and wasn't in 1.0
5 lines of code changed in:
Implement changes to StringUtils.isEmpty and friends
This is an incompatible change for isEmpty and isNotEmpty from 1.0
242 lines of code changed in:
Remove old unused commented out code
1 lines of code changed in:
The private field FastDateFormatTest.fastDateFormat is never read locally (line 76)
2 lines of code changed in:
Refactor such that the ObjectUtils.identityToString() method logic is only in ObjectUtils and not duplicated in the builder package.
43 lines of code changed in:
Javadoc null behaviour
68 lines of code changed in:
Add defaultString(String) back in for performance
3 lines of code changed in:
Update Javadoc defining empty, space and whitespace
Improve performance of repeat
Add defaultString(String) back in for performance
342 lines of code changed in:
Javadoc typo
2 lines of code changed in:
Give a Javadoc example for overridding the accept method.
15 lines of code changed in:
Fix typos
from Phil Steitz
8 lines of code changed in:
Version 2.0 of the Lang specification
1 lines of code changed in:
Setting version to 2.0-rc1
1 lines of code changed in:
Updated the manifest to pretty much match http://jakarta.apache.org/commons/releases/prepare.html
2 lines of code changed in:
Updating version in this, though it's not in active build use.
1 lines of code changed in:
Updated version to 2.0, pre-build.
1 lines of code changed in:
Updated with isEmptyTrimmed/isNotEmptyTrimmed
11 lines of code changed in:
Update task list
3 lines of code changed in:
Javadoc fix
5 lines of code changed in:
Unify format of NOTE comments
7 lines of code changed in:
Update Avalon references
4 lines of code changed in:
Solely Javadoc fixes.
295 lines of code changed in:
Javadoc fixes and change from append(String) to append(char)
50 lines of code changed in:
Add and rework isEmpty, isNotEmpty, isEmptyTrimmed, isNotEmptyTrimmed
Javadoc methods, adding example code
224 lines of code changed in:
Add and rework isEmpty, isNotEmpty, isEmptyTrimmed, isNotEmptyTrimmed
25 lines of code changed in:
Javadoc fixes. Shouldn't have been anything other than javadoc changes in this.
1445 lines of code changed in:
Javadoc fixes and a refactoring to use StringUtils.
167 lines of code changed in:
Javadoc fixes and removal of a wildcard import.
15 lines of code changed in:
Add indexOf for primitive arrays
1164 lines of code changed in:
Fix to correctly identify the original author
from Brian S O'Neill
3 lines of code changed in:
Javadoc no longer shows private attributes/methods.
1 lines of code changed in:
Removed tabs.
3 lines of code changed in:
Added the bugs fixed by 2.0 to the release notes.
51 lines of code changed in:
Removed wordWrap method as it doesn't offer anything that the wrapText method doesn't have.
1 lines of code changed in:
Small improvements to formatting
10 lines of code changed in:
Removed the unnecessary 'A' from join's char separator javadocs.
3 lines of code changed in:
Javadoc fix
3 lines of code changed in:
Update for release 2.0
7 lines of code changed in:
Cleaned up import.
2 lines of code changed in:
Great set of javadoc improvements from Fredrik.
Also an optimisation to StringUtils.leftPad/rightPad.
Submitted by: Fredrik Westermarck
375 lines of code changed in:
New release notes, though it lacks bugs from bugzilla at the moment.
423 lines of code changed in:
Updated to include the rest of the math package, alphabetises the main package entries and contains the time package description. Also uses 2.0 version numbering.
29 lines of code changed in:
Date/Time package now in.
1 lines of code changed in:
Removed a TODO.
The performance improvements these refered to are now in.
1 lines of code changed in:
Added comment for new committers to add their names.
2 lines of code changed in:
Removed the 'add user here'. Should be in STATUS.html.
0 lines of code changed in:
truncateNicely now implemented as abbreviate.
1 lines of code changed in:
javadoc fixes
9 lines of code changed in:
Fixed Javadoc return tag.
2 lines of code changed in:
Switched from using top-level Commons LICENSE to specific Commons Lang LICENSE.txt. The main driving reason for this is so that distributed sources may properly build.
Submitted by: Arnaud Vandyck
3 lines of code changed in: