Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkoetter committed Dec 3, 2016
1 parent 5057489 commit 8156502
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.pcap4j.Pcap4jPropertiesLoader.PCAP4J_PROPERTIES_PATH_KEY;

@RunWith(Parameterized.class)
@PrepareForTest(Platform.class)
Expand Down Expand Up @@ -87,7 +86,7 @@ public void testHasDefaultDltRaw() {
}

private int getExpectedDefaultAfInet6() {
switch (Platform.getOSType()) {
switch (osType) {
case Platform.MAC:
return 30;
case Platform.FREEBSD:
Expand All @@ -102,7 +101,7 @@ private int getExpectedDefaultAfInet6() {
}

private int getExpectedDefaultDltRaw() {
switch (Platform.getOSType()) {
switch (osType) {
case Platform.OPENBSD:
return 14;
default:
Expand Down

0 comments on commit 8156502

Please sign in to comment.