mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
delegate to hashCode directly instead of single parameter calls
This commit is contained in:
parent
4d5fc7ee71
commit
a2a40ed26a
@ -97,7 +97,7 @@ public class BukkitWorld implements World<org.bukkit.World> {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(world);
|
||||
return world.hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -119,7 +119,7 @@ public abstract class PlotWorld {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(world);
|
||||
return world.hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -385,7 +385,7 @@ public class FlagContainer {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(flagMap);
|
||||
return flagMap.hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user