Apply basic checkstyle fixes to NullLocation.

This commit is contained in:
Jeremy Wood 2023-09-08 09:03:10 -04:00
parent 11edd8e631
commit 58d37e93ee
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B

View File

@ -20,7 +20,7 @@ public final class NullLocation extends SpawnLocation {
@Override @Override
public Location clone() { public Location clone() {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
}; }
@Override @Override
public Map<String, Object> serialize() { public Map<String, Object> serialize() {
@ -44,10 +44,10 @@ public final class NullLocation extends SpawnLocation {
@Override @Override
public int hashCode() { public int hashCode() {
return -1; return -1;
}; }
@Override @Override
public String toString() { public String toString() {
return "Location{null}"; return "Location{null}";
}; }
} }