Merge "Fixed whitespace for Gerrit 393"
authorGiovanni Meo <gmeo@cisco.com>
Tue, 28 May 2013 18:19:25 +0000 (18:19 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 28 May 2013 18:19:25 +0000 (18:19 +0000)
opendaylight/arphandler/src/main/java/org/opendaylight/controller/arphandler/internal/ArpHandler.java

index fd37b84d7af1d9c8026ca097f4efb9e57ce8182a..6e625a0eb7ff963b02c13b7c89b36f0045f4807f 100644 (file)
@@ -98,7 +98,7 @@ public class ArpHandler implements IHostFinder, IListenDataPacket {
             this.hostTracker = null;
         }
     }
-    
+
     public void setTopologyManager(ITopologyManager tm) {
         this.topologyManager = tm;
     }
@@ -242,7 +242,7 @@ public class ArpHandler implements IHostFinder, IListenDataPacket {
             generateAndSendReply(sourceIP, sourceMAC);
             return;
         }
-    
+
         /*
          * ARP Request Handling:
          * If targetIP is the IP of the subnet, reply with ARP REPLY
@@ -321,9 +321,9 @@ public class ArpHandler implements IHostFinder, IListenDataPacket {
             nodeConnectors = subnet.getNodeConnectors();
         }
         for (NodeConnector p : nodeConnectors) {
-               if (topologyManager.isInternal(p)) {
-                       continue;
-               }
+            if (topologyManager.isInternal(p)) {
+                continue;
+            }
             ARP arp = new ARP();
             byte[] senderIP = subnet.getNetworkAddress().getAddress();
             byte[] targetIPB = targetIP.getAddress();
@@ -552,7 +552,7 @@ public class ArpHandler implements IHostFinder, IListenDataPacket {
         }
         return PacketResult.IGNORED;
     }
-    
+
     private void startPeriodicTimer() {
         this.periodicTimer = new Timer("ArpHandler Periodic Timer");
         this.periodicTimer.scheduleAtFixedRate(new TimerTask() {