Config fix
This commit is contained in:
parent
15ea52ed7e
commit
9b5dee0917
2 changed files with 11 additions and 10 deletions
|
@ -69,6 +69,11 @@ public class ConfigKey {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s:%s:%s", owner, category, entry);
|
||||
}
|
||||
|
||||
private void validate(String owner, String category, String entry) {
|
||||
if (owner == null) {
|
||||
throw new NullPointerException("Failed to create ConfigKey: 'owner' can't be null.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue