Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerozgen committed Oct 28, 2024
1 parent b96c633 commit 8d882ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ public String languagereload_get(String key) {

@Override
public @Nullable String languagereload_getTargetLanguage() {
return targetLanguageByThread.get(Thread.currentThread().threadId());
return targetLanguageByThread.get(Thread.currentThread().getId());
}

@Override
public void languagereload_setTargetLanguage(@Nullable String value) {
var threadId = Thread.currentThread().threadId();
var threadId = Thread.currentThread().getId();
if (value == null) targetLanguageByThread.remove(threadId);
else targetLanguageByThread.put(threadId, value);
}
Expand Down

0 comments on commit 8d882ec

Please sign in to comment.