Enable checkstyle rules to check names of static final members
Enable the rule that mandates use of uppercase and underscores
in the names of static final members.
Change-Id: Ica7f004601f9efd14d4b6a4450189a6eb8967f72
diff --git a/src/test/java/net/floodlightcontroller/core/test/PacketFactory.java b/src/test/java/net/floodlightcontroller/core/test/PacketFactory.java
index 77d6fa0..b863d11 100644
--- a/src/test/java/net/floodlightcontroller/core/test/PacketFactory.java
+++ b/src/test/java/net/floodlightcontroller/core/test/PacketFactory.java
@@ -110,7 +110,7 @@
Ethernet requestPacket = new Ethernet();
requestPacket.setSourceMACAddress(hostMac.toBytes())
.setDestinationMACAddress(broadcastMac)
- .setEtherType(Ethernet.TYPE_IPv4)
+ .setEtherType(Ethernet.TYPE_IPV4)
.setPayload(
new IPv4()
.setVersion((byte) 4)
diff --git a/src/test/java/net/onrc/onos/core/packet/PacketTest.java b/src/test/java/net/onrc/onos/core/packet/PacketTest.java
index ab5247e..efbf05c 100644
--- a/src/test/java/net/onrc/onos/core/packet/PacketTest.java
+++ b/src/test/java/net/onrc/onos/core/packet/PacketTest.java
@@ -17,7 +17,7 @@
this.pkt1 = new Ethernet()
.setDestinationMACAddress("00:11:22:33:44:55")
.setSourceMACAddress("00:44:33:22:11:00")
- .setEtherType(Ethernet.TYPE_IPv4)
+ .setEtherType(Ethernet.TYPE_IPV4)
.setPayload(
new IPv4()
.setTtl((byte) 128)
@@ -65,7 +65,7 @@
this.pkt4 = new Ethernet()
.setDestinationMACAddress("FF:FF:FF:FF:FF:FF")
.setSourceMACAddress("00:11:33:55:77:01")
- .setEtherType(Ethernet.TYPE_IPv4)
+ .setEtherType(Ethernet.TYPE_IPV4)
.setPayload(
new IPv4()
.setTtl((byte) 128)