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