mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 11:05:09 +00:00
Javadoc
Normalize spelling
This commit is contained in:
parent
f04b12b9ce
commit
8ed7b18dc9
@ -478,7 +478,7 @@ public static boolean toBoolean(final Integer value, final Integer trueValue, fi
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts a String to a boolean (optimised for performance).
|
||||
* Converts a String to a boolean (optimized for performance).
|
||||
*
|
||||
* <p>{@code 'true'}, {@code 'on'}, {@code 'y'}, {@code 't'} or {@code 'yes'}
|
||||
* (case insensitive) will return {@code true}. Otherwise,
|
||||
|
@ -508,7 +508,7 @@ public static String formatPeriod(final long startMillis, final long endMillis,
|
||||
final TimeZone timezone) {
|
||||
Validate.isTrue(startMillis <= endMillis, "startMillis must not be greater than endMillis");
|
||||
|
||||
// Used to optimise for differences under 28 days and
|
||||
// Used to optimize for differences under 28 days and
|
||||
// called formatDuration(millis, format); however this did not work
|
||||
// over leap years.
|
||||
// TODO: Compare performance to see if anything was lost by
|
||||
|
@ -19,7 +19,7 @@
|
||||
* These classes are immutable (and therefore thread-safe) apart from {@link org.apache.commons.lang3.time.StopWatch}.
|
||||
*
|
||||
* <p>The time package contains some basic utilities for manipulating time (a delorean, police box and grandfather clock?).
|
||||
* These include a {@link org.apache.commons.lang3.time.StopWatch} for simple performance measurements and an optimised {@link org.apache.commons.lang3.time.FastDateFormat} class.</p>
|
||||
* These include a {@link org.apache.commons.lang3.time.StopWatch} for simple performance measurements and an optimized {@link org.apache.commons.lang3.time.FastDateFormat} class.</p>
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user