X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2FActions.java;h=b3fa45bbc957322d3b0839ac86506d30359def7e;hp=6cada2c0417788291aa62491513e851645599f08;hb=43767bb962ade9659c8aa7eb0e02d412a7a54db2;hpb=9108efddf9a5f3e2c81202a17ccdeca22cb5ca09 diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java index 6cada2c041..b3fa45bbc9 100644 --- a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java +++ b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java @@ -20,8 +20,9 @@ import javax.xml.bind.annotation.XmlRootElement; * @brief Class representing actions * * Describes supported actions + * @Deprecated This class is OF 1.0 specific. Use SupportedFlowActions instead. */ - +@Deprecated @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) public class Actions extends Property { @@ -92,15 +93,19 @@ public class Actions extends Property { @Override public boolean equals(Object obj) { - if (this == obj) + if (this == obj) { return true; - if (!super.equals(obj)) + } + if (!super.equals(obj)) { return false; - if (getClass() != obj.getClass()) + } + if (getClass() != obj.getClass()) { return false; + } Actions other = (Actions) obj; - if (actionsValue != other.actionsValue) + if (actionsValue != other.actionsValue) { return false; + } return true; }