Skip to content

Commit

Permalink
FIX: Change syncronization tool in getVersion().
Browse files Browse the repository at this point in the history
  • Loading branch information
brido4125 committed Jul 27, 2023
1 parent 6e2c63b commit 2e47c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/spy/memcached/ArcusClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -4276,7 +4276,7 @@ public static String getVersion() {
if (!VERSION.equals("INIT")) {
return VERSION;
}
synchronized (VERSION) {
synchronized ("INIT") {
if (VERSION.equals("INIT")) {
Enumeration<URL> resEnum;
try {
Expand Down

0 comments on commit 2e47c88

Please sign in to comment.