Commit ff305982 authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Added hashCode to RosType

parent 3bb6d274
......@@ -30,4 +30,9 @@ public class RosType {
boolean fieldsEqual = Objects.deepEquals(fields, ((RosType) o).fields);
return Objects.equals(name, rosType.name) && fieldsEqual;
}
@Override
public int hashCode() {
return Objects.hash(name, fields);
}
}
Supports Markdown
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