Skip to content

Commit

Permalink
lint fixes and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Aug 8, 2024
1 parent 2552708 commit 1d8ed19
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.jasonernst.packetdumper.filedumper

import com.jasonernst.packetdumper.EtherType
import com.jasonernst.packetdumper.EthernetHeader
import com.jasonernst.packetdumper.stringdumper.StringPacketDumper
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions.assertEquals
Expand Down Expand Up @@ -52,9 +51,7 @@ class TestTextFilePacketDumper {
if (etherType != null) {
// note: we multiple by 3, because each byte is represented by two hex characters and a
// space character
// EthernetHeader.ETHERNET_HEADER_LENGTH.toInt() * 3
text = text.drop(42)
//text = text.trimEnd() // remove the trailing space
logger.debug("No ether type text: $text")
}

Expand Down

0 comments on commit 1d8ed19

Please sign in to comment.