Commit c2443b62 authored by Mathieu Féry (Mathius)'s avatar Mathieu Féry (Mathius)
Browse files

Rework hashCode of System and Attr

parent 829a188e
......@@ -51,7 +51,7 @@ public class DnDAttr implements Serializable {
*/
@Override
public int hashCode() {
return nameAttr.hashCode() * valueUserReadable.hashCode() * value.hashCode();
return nameAttr.hashCode() * value.hashCode();
}
/**
......
......@@ -110,7 +110,7 @@ public class DnDSystem implements Serializable, Comparable<DnDSystem> {
*/
@Override
public int hashCode() {
return longName.hashCode() * name.hashCode();
return longName.hashCode();
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment