Fixed whitespace for Gerrit 393 94/394/1
authorEd Warnicke <eaw@cisco.com>
Sat, 25 May 2013 17:35:39 +0000 (12:35 -0500)
committerEd Warnicke <eaw@cisco.com>
Sat, 25 May 2013 17:35:39 +0000 (12:35 -0500)
This commit is primarily about experimenting
with commits against not yet merged Gerrits.
I took as an opportunity doing this patch to fix
some tabs and trailing whitespaces for
https://git.opendaylight.org/gerrit/#/c/393/

Change-Id: If9573cfc36c1554894854821b530443243a72070
Signed-off-by: Ed Warnicke <eaw@cisco.com>
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() {