Fix checkstyle whitespace issues - WHITESPACE ONLY
Change-Id: Ic205c1afd639c6008d61d9de95cb764eeb6238ca
diff --git a/src/main/java/net/onrc/onos/core/intent/ForwardAction.java b/src/main/java/net/onrc/onos/core/intent/ForwardAction.java
index 482d3f1..4e4088f 100644
--- a/src/main/java/net/onrc/onos/core/intent/ForwardAction.java
+++ b/src/main/java/net/onrc/onos/core/intent/ForwardAction.java
@@ -3,38 +3,36 @@
import net.onrc.onos.core.util.FlowEntryAction;
/**
- *
* @author Brian O'Connor <bocon@onlab.us>
- *
*/
class ForwardAction extends Action {
- protected long dstPort;
-
- public ForwardAction(long dstPort) {
- this.dstPort = dstPort;
- }
-
- public String toString() {
- return Long.toString(dstPort);
- }
+ protected long dstPort;
- @Override
- public FlowEntryAction getFlowEntryAction() {
- FlowEntryAction action = new FlowEntryAction();
- action.setActionOutput(new net.onrc.onos.core.util.Port((short) dstPort));
- return action;
- }
+ public ForwardAction(long dstPort) {
+ this.dstPort = dstPort;
+ }
- public int hashCode() {
- return (int) dstPort;
- }
-
- public boolean equals(Object o) {
- if(!(o instanceof ForwardAction)) {
- return false;
- }
- ForwardAction action = (ForwardAction) o;
- return this.dstPort == action.dstPort;
- }
+ public String toString() {
+ return Long.toString(dstPort);
+ }
+
+ @Override
+ public FlowEntryAction getFlowEntryAction() {
+ FlowEntryAction action = new FlowEntryAction();
+ action.setActionOutput(new net.onrc.onos.core.util.Port((short) dstPort));
+ return action;
+ }
+
+ public int hashCode() {
+ return (int) dstPort;
+ }
+
+ public boolean equals(Object o) {
+ if (!(o instanceof ForwardAction)) {
+ return false;
+ }
+ ForwardAction action = (ForwardAction) o;
+ return this.dstPort == action.dstPort;
+ }
}