Fix Javadoc typos
Change-Id: Ieaf96e9e4bb217b1def0edb080cf4ea6af533b10
Showing
2 changed files
with
10 additions
and
5 deletions
... | @@ -72,13 +72,18 @@ public class DefaultTrafficSelectorTest { | ... | @@ -72,13 +72,18 @@ public class DefaultTrafficSelectorTest { |
72 | } | 72 | } |
73 | 73 | ||
74 | /** | 74 | /** |
75 | - * Hamcrest matcher to check that a collection of Intents contains an | 75 | + * Hamcrest matcher to check that a selector contains a |
76 | - * Intent with the specified Intent Id. | 76 | + * Criterion with the specified type. |
77 | */ | 77 | */ |
78 | public static final class CriterionExistsMatcher | 78 | public static final class CriterionExistsMatcher |
79 | extends TypeSafeMatcher<TrafficSelector> { | 79 | extends TypeSafeMatcher<TrafficSelector> { |
80 | private final Criterion.Type type; | 80 | private final Criterion.Type type; |
81 | 81 | ||
82 | + /** | ||
83 | + * Constructs a matcher for the given criterion type. | ||
84 | + * | ||
85 | + * @param typeValue criterion type to match | ||
86 | + */ | ||
82 | public CriterionExistsMatcher(Criterion.Type typeValue) { | 87 | public CriterionExistsMatcher(Criterion.Type typeValue) { |
83 | type = typeValue; | 88 | type = typeValue; |
84 | } | 89 | } |
... | @@ -102,7 +107,7 @@ public class DefaultTrafficSelectorTest { | ... | @@ -102,7 +107,7 @@ public class DefaultTrafficSelectorTest { |
102 | 107 | ||
103 | 108 | ||
104 | /** | 109 | /** |
105 | - * Factory method to create a criterion type matcher. Returns a matcher | 110 | + * Creates a criterion type matcher. Returns a matcher |
106 | * for a criterion with the given type. | 111 | * for a criterion with the given type. |
107 | * | 112 | * |
108 | * @param type type of Criterion to match | 113 | * @param type type of Criterion to match | ... | ... |
... | @@ -34,7 +34,7 @@ public class FlowIdTest { | ... | @@ -34,7 +34,7 @@ public class FlowIdTest { |
34 | final FlowId flowId2 = FlowId.valueOf(2); | 34 | final FlowId flowId2 = FlowId.valueOf(2); |
35 | 35 | ||
36 | /** | 36 | /** |
37 | - * Checks that the DefaultFlowRule class is immutable. | 37 | + * Checks that the FlowId class is immutable. |
38 | */ | 38 | */ |
39 | @Test | 39 | @Test |
40 | public void testImmutability() { | 40 | public void testImmutability() { |
... | @@ -42,7 +42,7 @@ public class FlowIdTest { | ... | @@ -42,7 +42,7 @@ public class FlowIdTest { |
42 | } | 42 | } |
43 | 43 | ||
44 | /** | 44 | /** |
45 | - * Checks the operation of equals(), hashCode and toString() methods. | 45 | + * Checks the operation of equals(), hashCode() and toString() methods. |
46 | */ | 46 | */ |
47 | @Test | 47 | @Test |
48 | public void testEquals() { | 48 | public void testEquals() { | ... | ... |
-
Please register or login to post a comment