Ray Milkey

Fix Javadoc typos

Change-Id: Ieaf96e9e4bb217b1def0edb080cf4ea6af533b10
......@@ -72,13 +72,18 @@ public class DefaultTrafficSelectorTest {
}
/**
* 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 @@ public class DefaultTrafficSelectorTest {
/**
* 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
......
......@@ -34,7 +34,7 @@ public class FlowIdTest {
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 @@ public class FlowIdTest {
}
/**
* Checks the operation of equals(), hashCode and toString() methods.
* Checks the operation of equals(), hashCode() and toString() methods.
*/
@Test
public void testEquals() {
......