Bug 4098 - ofoverlay-renderer failure in jdk8
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / java / org / opendaylight / groupbasedpolicy / renderer / ofoverlay / arp / ArpFlowFactory.java
index a7a083f1e127d670a83e42a5209ff3fbee1721d8..2db00da8eb5ba882c36cdb73a17d7a81326fdb4b 100644 (file)
@@ -37,6 +37,9 @@ public class ArpFlowFactory {
 
     /**
      * Creates {@link EthernetMatch} containing ARP ether-type and the given destination MAC address
+     *
+     * @param destinationMacAddress the destination MAC address
+     * @return {@link EthernetMatch}
      */
     public static EthernetMatch createEthernetMatch(MacAddress destinationMacAddress) {
         return new EthernetMatchBuilder().setEthernetType(
@@ -48,6 +51,10 @@ public class ArpFlowFactory {
     /**
      * Creates {@link ArpMatch} containing Reply ARP operation, THA and TPA for the given target
      * address and SPA for the given sender protocol address
+     *
+     * @param targetAddress the target address
+     * @param senderProtocolAddress the sender protocol address
+     * @return {@link ArpMatch}
      */
     public static ArpMatch createArpMatch(ArpMessageAddress targetAddress, Ipv4Address senderProtocolAddress) {
         return new ArpMatchBuilder().setArpOp(ArpOperation.REPLY.intValue())
@@ -62,6 +69,7 @@ public class ArpFlowFactory {
      * Creates {@link Action} representing output to the controller
      *
      * @param order the order for the action
+     * @return {@link Action}
      */
     public static Action createSendToControllerAction(int order) {
         return new ActionBuilder().setOrder(order)