suppress warnings
This commit is contained in:
parent
9137caba59
commit
dfccf1f994
@ -76,6 +76,7 @@ public class TranslationNode {
|
||||
this.children.put(key, node);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public @NotNull TranslationNode setChildren(@NotNull String key) {
|
||||
try {
|
||||
TranslationNode node = new TranslationNode(this.children.getClass().getDeclaredConstructor().newInstance());
|
||||
|
Loading…
x
Reference in New Issue
Block a user