Normalize spelling
This commit is contained in:
Gary Gregory 2023-11-26 15:00:02 -05:00
parent f04b12b9ce
commit 8ed7b18dc9
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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

View File

@ -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
*/