Skip to content

Commit

Permalink
Currently, the best way to solve #17
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoPangxie732 committed Jun 21, 2021
1 parent b1b49c7 commit ecc3c44
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ private LazyFinalValue(String errorMessage) {

public synchronized void set(V value) {
if(this.value == null) this.value = Objects.requireNonNull(value);
else if(value != null && ((PairedFieldMapping) value).getMappedName().equals("LOADING_SYMBOLS")) this.value = Objects.requireNonNull(value);
else throw new IllegalStateException(errorMessage);
}
}
Expand Down

0 comments on commit ecc3c44

Please sign in to comment.