just minor nitpicks (#712)

This commit is contained in:
erabii
2021-01-15 14:16:12 -05:00
committed by GitHub
parent 84c05702f5
commit 488ac28a9f

View File

@@ -28,11 +28,7 @@ public class EndpointSubsetNS {
private String namespace;
private List<EndpointSubset> endpointSubset;
public EndpointSubsetNS() {
endpointSubset = new ArrayList<>();
}
private List<EndpointSubset> endpointSubset = new ArrayList<>();
public String getNamespace() {
return namespace;
@@ -50,10 +46,12 @@ public class EndpointSubsetNS {
this.endpointSubset = endpointSubset;
}
@Override
public boolean equals(Object o) {
return this.endpointSubset.equals(o);
}
@Override
public int hashCode() {
return this.endpointSubset.hashCode();
}