Fix Javadoc typos
Change-Id: Ieaf96e9e4bb217b1def0edb080cf4ea6af533b10
diff --git a/core/api/src/test/java/org/onlab/onos/net/flow/DefaultTrafficSelectorTest.java b/core/api/src/test/java/org/onlab/onos/net/flow/DefaultTrafficSelectorTest.java
index b3e2acf..527030f 100644
--- a/core/api/src/test/java/org/onlab/onos/net/flow/DefaultTrafficSelectorTest.java
+++ b/core/api/src/test/java/org/onlab/onos/net/flow/DefaultTrafficSelectorTest.java
@@ -72,13 +72,18 @@
}
/**
- * Hamcrest matcher to check that a collection of Intents contains an
- * Intent with the specified Intent Id.
+ * Hamcrest matcher to check that a selector contains a
+ * Criterion with the specified type.
*/
public static final class CriterionExistsMatcher
extends TypeSafeMatcher<TrafficSelector> {
private final Criterion.Type type;
+ /**
+ * Constructs a matcher for the given criterion type.
+ *
+ * @param typeValue criterion type to match
+ */
public CriterionExistsMatcher(Criterion.Type typeValue) {
type = typeValue;
}
@@ -102,7 +107,7 @@
/**
- * Factory method to create a criterion type matcher. Returns a matcher
+ * Creates a criterion type matcher. Returns a matcher
* for a criterion with the given type.
*
* @param type type of Criterion to match
diff --git a/core/api/src/test/java/org/onlab/onos/net/flow/FlowIdTest.java b/core/api/src/test/java/org/onlab/onos/net/flow/FlowIdTest.java
index 92c3bd0..36b2362 100644
--- a/core/api/src/test/java/org/onlab/onos/net/flow/FlowIdTest.java
+++ b/core/api/src/test/java/org/onlab/onos/net/flow/FlowIdTest.java
@@ -34,7 +34,7 @@
final FlowId flowId2 = FlowId.valueOf(2);
/**
- * Checks that the DefaultFlowRule class is immutable.
+ * Checks that the FlowId class is immutable.
*/
@Test
public void testImmutability() {
@@ -42,7 +42,7 @@
}
/**
- * Checks the operation of equals(), hashCode and toString() methods.
+ * Checks the operation of equals(), hashCode() and toString() methods.
*/
@Test
public void testEquals() {