Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Aug 14, 2024
1 parent 625b1d9 commit d4a83e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,5 @@ class MacAddress {
return bytes.contentEquals(other.bytes)
}

override fun hashCode(): Int {
return bytes.contentHashCode()
}
override fun hashCode(): Int = bytes.contentHashCode()
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ class TestEthernetHeader {
unknownBuffer.rewind()
assertEquals(EtherType.DETECT, EthernetHeader.getEtherTypeFromIPVersionByte(unknownBuffer.get().toUByte()))
}
}
}

0 comments on commit d4a83e6

Please sign in to comment.