Fix naming convention issues in preparation for stricter checkstyle enforcement

Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
diff --git a/core/net/src/main/java/org/onosproject/net/device/impl/BasicDeviceOperator.java b/core/net/src/main/java/org/onosproject/net/device/impl/BasicDeviceOperator.java
index 3240342..a498b3f 100644
--- a/core/net/src/main/java/org/onosproject/net/device/impl/BasicDeviceOperator.java
+++ b/core/net/src/main/java/org/onosproject/net/device/impl/BasicDeviceOperator.java
@@ -61,7 +61,7 @@
         }
 
         SparseAnnotations sa = combine(bdc, descr.annotations());
-        return new DefaultDeviceDescription(descr.deviceURI(), type, descr.manufacturer(),
+        return new DefaultDeviceDescription(descr.deviceUri(), type, descr.manufacturer(),
                                             descr.hwVersion(), descr.swVersion(),
                                             descr.serialNumber(), descr.chassisId(), sa);
     }
diff --git a/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java b/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java
index 6515ef3..f18c56d 100644
--- a/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java
+++ b/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java
@@ -255,7 +255,7 @@
                                                              Instruction.Type instType) {

         checkPermission(STATISTIC_READ);

 

-        List<TypedFlowEntryWithLoad> retTFEL = new ArrayList<>();

+        List<TypedFlowEntryWithLoad> retTfel = new ArrayList<>();

 

         Set<FlowEntry> currentStats;

         Set<FlowEntry> previousStats;

@@ -264,11 +264,11 @@
         synchronized (flowStatisticStore) {

             currentStats = flowStatisticStore.getCurrentFlowStatistic(cp);

             if (currentStats == null) {

-                return retTFEL;

+                return retTfel;

             }

             previousStats = flowStatisticStore.getPreviousFlowStatistic(cp);

             if (previousStats == null) {

-                return retTFEL;

+                return retTfel;

             }

             // copy to local flow entry set

             typedStatistics = new TypedStatistics(currentStats, previousStats);

@@ -291,7 +291,7 @@
             List<TypedFlowEntryWithLoad> fel = typedFlowEntryLoadByInstInternal(cp, currentMap, previousMap,

                     isAllInstType, instType, TypedFlowEntryWithLoad.shortPollInterval());

             if (fel.size() > 0) {

-                retTFEL.addAll(fel);

+                retTfel.addAll(fel);

             }

         }

 

@@ -302,7 +302,7 @@
             List<TypedFlowEntryWithLoad> fel = typedFlowEntryLoadByInstInternal(cp, currentMap, previousMap,

                     isAllInstType, instType, TypedFlowEntryWithLoad.shortPollInterval());

             if (fel.size() > 0) {

-                retTFEL.addAll(fel);

+                retTfel.addAll(fel);

             }

         }

 

@@ -313,7 +313,7 @@
             List<TypedFlowEntryWithLoad> fel = typedFlowEntryLoadByInstInternal(cp, currentMap, previousMap,

                     isAllInstType, instType, TypedFlowEntryWithLoad.midPollInterval());

             if (fel.size() > 0) {

-                retTFEL.addAll(fel);

+                retTfel.addAll(fel);

             }

         }

 

@@ -324,7 +324,7 @@
             List<TypedFlowEntryWithLoad> fel = typedFlowEntryLoadByInstInternal(cp, currentMap, previousMap,

                     isAllInstType, instType, TypedFlowEntryWithLoad.longPollInterval());

             if (fel.size() > 0) {

-                retTFEL.addAll(fel);

+                retTfel.addAll(fel);

             }

         }

 

@@ -335,11 +335,11 @@
             List<TypedFlowEntryWithLoad> fel = typedFlowEntryLoadByInstInternal(cp, currentMap, previousMap,

                     isAllInstType, instType, TypedFlowEntryWithLoad.avgPollInterval());

             if (fel.size() > 0) {

-                retTFEL.addAll(fel);

+                retTfel.addAll(fel);

             }

         }

 

-        return retTFEL;

+        return retTfel;

     }

 

     private List<TypedFlowEntryWithLoad> typedFlowEntryLoadByInstInternal(ConnectPoint cp,

diff --git a/core/net/src/test/java/org/onosproject/net/proxyarp/impl/ProxyArpManagerTest.java b/core/net/src/test/java/org/onosproject/net/proxyarp/impl/ProxyArpManagerTest.java
index ee9dc8f..70fdb40 100644
--- a/core/net/src/test/java/org/onosproject/net/proxyarp/impl/ProxyArpManagerTest.java
+++ b/core/net/src/test/java/org/onosproject/net/proxyarp/impl/ProxyArpManagerTest.java
@@ -495,15 +495,15 @@
         replay(hostService);
         replay(interfaceService);
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       MAC4, SOLICITED_MAC3,
-                                       IP4, IP3);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC4, SOLICITED_MAC3,
+                IP4, IP3);
 
         proxyArp.reply(ndpRequest, getLocation(5));
 
         assertEquals(1, packetService.packets.size());
-        Ethernet ndpReply = buildNDP(ICMP6.NEIGHBOR_ADVERTISEMENT,
-                                     MAC3, MAC4, IP3, IP4);
+        Ethernet ndpReply = buildNdp(ICMP6.NEIGHBOR_ADVERTISEMENT,
+                MAC3, MAC4, IP3, IP4);
         verifyPacketOut(ndpReply, getLocation(5), packetService.packets.get(0));
     }
 
@@ -556,9 +556,9 @@
         replay(hostService);
         replay(interfaceService);
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       MAC4, SOLICITED_MAC3,
-                                       IP4, IP3);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC4, SOLICITED_MAC3,
+                IP4, IP3);
 
         proxyArp.reply(ndpRequest, getLocation(NUM_DEVICES));
 
@@ -686,9 +686,9 @@
         replay(hostService);
         replay(interfaceService);
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       MAC4, SOLICITED_MAC3,
-                                       IP4, IP3);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC4, SOLICITED_MAC3,
+                IP4, IP3);
 
         proxyArp.reply(ndpRequest, getLocation(NUM_DEVICES));
 
@@ -752,37 +752,37 @@
         replay(hostService);
         replay(interfaceService);
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       MAC2,
-                                       MacAddress.valueOf("33:33:ff:00:00:01"),
-                                       theirIp,
-                                       ourFirstIp);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC2,
+                MacAddress.valueOf("33:33:ff:00:00:01"),
+                theirIp,
+                ourFirstIp);
 
         proxyArp.reply(ndpRequest, LOC1);
         assertEquals(1, packetService.packets.size());
 
-        Ethernet ndpReply = buildNDP(ICMP6.NEIGHBOR_ADVERTISEMENT,
-                                     firstMac,
-                                     MAC2,
-                                     ourFirstIp,
-                                     theirIp);
+        Ethernet ndpReply = buildNdp(ICMP6.NEIGHBOR_ADVERTISEMENT,
+                firstMac,
+                MAC2,
+                ourFirstIp,
+                theirIp);
         verifyPacketOut(ndpReply, LOC1, packetService.packets.get(0));
 
         // Test a request for the second address on that port
         packetService.packets.clear();
-        ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                              MAC2,
-                              MacAddress.valueOf("33:33:ff:00:00:01"),
-                              theirIp,
-                              ourSecondIp);
+        ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC2,
+                MacAddress.valueOf("33:33:ff:00:00:01"),
+                theirIp,
+                ourSecondIp);
         proxyArp.reply(ndpRequest, LOC1);
         assertEquals(1, packetService.packets.size());
 
-        ndpReply = buildNDP(ICMP6.NEIGHBOR_ADVERTISEMENT,
-                                     secondMac,
-                                     MAC2,
-                                     ourSecondIp,
-                                     theirIp);
+        ndpReply = buildNdp(ICMP6.NEIGHBOR_ADVERTISEMENT,
+                secondMac,
+                MAC2,
+                ourSecondIp,
+                theirIp);
         verifyPacketOut(ndpReply, LOC1, packetService.packets.get(0));
     }
 
@@ -819,21 +819,21 @@
 
         Ip6Address theirIp = Ip6Address.valueOf("1000::ffff");
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                              MAC1,
-                              MacAddress.valueOf("33:33:ff:00:00:01"),
-                              theirIp,
-                              Ip6Address.valueOf("3000::1"));
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC1,
+                MacAddress.valueOf("33:33:ff:00:00:01"),
+                theirIp,
+                Ip6Address.valueOf("3000::1"));
         proxyArp.reply(ndpRequest, LOC1);
         assertEquals(0, packetService.packets.size());
 
         // Request for a valid internal IP address but coming in an external port
         packetService.packets.clear();
-        ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                              MAC1,
-                              MacAddress.valueOf("33:33:ff:00:00:01"),
-                              theirIp,
-                              IP3);
+        ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC1,
+                MacAddress.valueOf("33:33:ff:00:00:01"),
+                theirIp,
+                IP3);
         proxyArp.reply(ndpRequest, LOC1);
         assertEquals(0, packetService.packets.size());
     }
@@ -894,11 +894,11 @@
 
         // This is a request from something inside our network (like a BGP
         // daemon) to an external host.
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       ourMac,
-                                       MacAddress.valueOf("33:33:ff:00:00:01"),
-                                       ourIp,
-                                       theirIp);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                ourMac,
+                MacAddress.valueOf("33:33:ff:00:00:01"),
+                ourIp,
+                theirIp);
 
         proxyArp.reply(ndpRequest, getLocation(5));
         assertEquals(1, packetService.packets.size());
@@ -954,9 +954,9 @@
         replay(hostService);
         replay(interfaceService);
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       MAC4, SOLICITED_MAC3,
-                                       IP4, IP3);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC4, SOLICITED_MAC3,
+                IP4, IP3);
 
         proxyArp.forward(ndpRequest, LOC2);
 
@@ -995,9 +995,9 @@
         replay(hostService);
         replay(interfaceService);
 
-        Ethernet ndpRequest = buildNDP(ICMP6.NEIGHBOR_SOLICITATION,
-                                       MAC4, SOLICITED_MAC3,
-                                       IP4, IP3);
+        Ethernet ndpRequest = buildNdp(ICMP6.NEIGHBOR_SOLICITATION,
+                MAC4, SOLICITED_MAC3,
+                IP4, IP3);
 
         proxyArp.forward(ndpRequest, getLocation(NUM_DEVICES));
 
@@ -1113,7 +1113,7 @@
      * @param dstIp  destination IP address
      * @return the NDP packet
      */
-    private Ethernet buildNDP(byte type, MacAddress srcMac, MacAddress dstMac,
+    private Ethernet buildNdp(byte type, MacAddress srcMac, MacAddress dstMac,
                               Ip6Address srcIp, Ip6Address dstIp) {
         assertThat(type, anyOf(
                 is(ICMP6.NEIGHBOR_SOLICITATION),