Skip to content

Commit e2b5e14

Browse files
committed
2 parents bdbe849 + 3e7ebea commit e2b5e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/beanutils/MethodUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public int hashCode() {
126126
* which may introduce memory-leak problems.
127127
* </p>
128128
*/
129-
private static boolean CACHE_METHODS = true;
129+
private static volatile boolean CACHE_METHODS = true;
130130

131131
/** An empty class array */
132132
private static final Class<?>[] EMPTY_CLASS_PARAMETERS = new Class[0];

0 commit comments

Comments
 (0)