Skip to content

links equality for reference and test update

Carl Gützkow requested to merge link-equals-reference into main

closes: #10 (closed)

What are the key features of this change

Updated the equals method in the Link class to check for reference. Uses the Objects.equals method to validate with null values as well. Modified tests and made a new one to check for null references and equality.

Checklist

  • Javadoc
  • Relevant tests have been created
  • Build tool test passed
  • Class version is updated where relevant

Merge request reports