delegate to hashCode directly instead of single parameter calls

This commit is contained in:
SirYwell 2022-02-25 14:51:18 +01:00
parent 4d5fc7ee71
commit a2a40ed26a
4 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ public class BukkitWorld implements World<org.bukkit.World> {
@Override
public int hashCode() {
return Objects.hash(world);
return world.hashCode();
}
/**

View File

@ -119,7 +119,7 @@ public abstract class PlotWorld {
@Override
public int hashCode() {
return Objects.hash(world);
return world.hashCode();
}
/**

View File

@ -385,7 +385,7 @@ public class FlagContainer {
@Override
public int hashCode() {
return Objects.hash(flagMap);
return flagMap.hashCode();
}
/**

View File

@ -215,7 +215,7 @@ public abstract class PlotFlag<T, F extends PlotFlag<T, F>> {
@Override
public int hashCode() {
return Objects.hash(value);
return value.hashCode();
}
/**