Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Dec 6, 2024
1 parent 1389210 commit 35f75f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import com.jasonernst.packetdumper.AbstractPacketDumper

abstract class AbstractServerPacketDumper : AbstractPacketDumper() {
abstract fun start()

abstract fun stop()

abstract fun isStarted(): Boolean
}
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ class PcapNgTcpServerPacketDumper(
}
}

override fun isStarted(): Boolean {
return isRunning.get()
}
override fun isStarted(): Boolean = isRunning.get()

override fun stop() {
if (!isRunning.get()) {
Expand Down

0 comments on commit 35f75f0

Please sign in to comment.