Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 20, 2023
1 parent 020cfbd commit ffb775c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*
* <p>This class provides implementations for the utility methods in
* {@link BeanUtils}.
* Different instances can be used to isolate caches between classloaders
* Different instances can be used to isolate caches between class loaders
* and to vary the value converters registered.</p>
*
* @see BeanUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* <p>Occasionally it is necessary to store data in "global" variables
* (including uses of the Singleton pattern). In applications which have only
* a single classloader such data can simply be stored as "static" members on
* some class. When multiple classloaders are involved, however, this approach
* some class. When multiple class loaders are involved, however, this approach
* can fail; in particular, this doesn't work when the code may be run within a
* servlet container or a j2ee container, and the class on which the static
* member is defined is loaded via a "shared" classloader that is visible to all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public int hashCode() {
* shared classloader because it is keyed via a MethodDescriptor object
* which has a Class as one of its members and that member is used in
* the MethodDescriptor.equals method. So two components that load the same
* class via different classloaders will generate non-equal MethodDescriptor
* class via different class loaders will generate non-equal MethodDescriptor
* objects and hence end up with different entries in the map.
*/
private static final Map<MethodDescriptor, Reference<Method>> cache = Collections
Expand Down

0 comments on commit ffb775c

Please sign in to comment.