Cleaned up a slew of Javadoc errors in preparation for switch over to Java 8.
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/DefaultTrafficTreatment.java b/core/api/src/main/java/org/onlab/onos/net/flow/DefaultTrafficTreatment.java
index ab7c230..c0b3986 100644
--- a/core/api/src/main/java/org/onlab/onos/net/flow/DefaultTrafficTreatment.java
+++ b/core/api/src/main/java/org/onlab/onos/net/flow/DefaultTrafficTreatment.java
@@ -97,7 +97,7 @@
/**
* Builds a list of treatments following the following order.
- * Modifications -> Group -> Output (including drop)
+ * Modifications -> Group -> Output (including drop)
*/
public static final class Builder implements TrafficTreatment.Builder {
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleProviderService.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleProviderService.java
index b1bda15..2f2dd5e 100644
--- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleProviderService.java
+++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleProviderService.java
@@ -27,7 +27,7 @@
/**
* Signals that a flow rule that was previously installed has been removed.
*
- * @param flowRule information about the removed flow
+ * @param flowEntry removed flow entry
*/
void flowRemoved(FlowEntry flowEntry);
@@ -35,10 +35,8 @@
* Pushes the collection of flow entries currently applied on the given
* device.
*
- * @param flowRules collection of flow rules
+ * @param flowEntries collection of flow rules
*/
void pushFlowMetrics(DeviceId deviceId, Iterable<FlowEntry> flowEntries);
-
-
}
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java
index 8a887d0..958dc91 100644
--- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java
+++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java
@@ -49,7 +49,7 @@
Iterable<FlowEntry> getFlowEntries(DeviceId deviceId);
/**
- // TODO: Better description of method behavior.
+ * // TODO: Better description of method behavior.
* Stores a new flow rule without generating events.
*
* @param rule the flow rule to add
@@ -58,15 +58,17 @@
/**
* Stores a batch of flow rules.
+ *
* @param batchOperation batch of flow rules.
* @return Future response indicating success/failure of the batch operation
- * all the way down to the device.
+ * all the way down to the device.
*/
Future<CompletedBatchOperation> storeBatch(FlowRuleBatchOperation batchOperation);
/**
* Invoked on the completion of a storeBatch operation.
- * @param result
+ *
+ * @param event flow rule batch event
*/
void batchOperationComplete(FlowRuleBatchEvent event);
@@ -75,7 +77,6 @@
* when the provider indicates that the flow has been removed.
*
* @param rule the flow rule to delete
- * @return true if the rule should be handled locally
*/
void deleteFlowRule(FlowRule rule);