Skip to content

Commit 41f4eb8

Browse files
committed
Fix javadoc parse errors
1 parent fb57734 commit 41f4eb8

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/com/google/testing/junit/testparameterinjector/TestParameter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,19 @@
9292
*
9393
* <p>If this field is set, {@link #value()} must be empty and vice versa.
9494
*
95-
* <h3>Example</h3>
95+
* <p><b>Example</b>
9696
*
9797
* <pre>
9898
* {@literal @}Test
9999
* public void matchesAllOf_throwsOnNull(
100100
* {@literal @}TestParameter(valuesProvider = CharMatcherProvider.class)
101101
* CharMatcher charMatcher) {
102-
* assertThrows(NullPointerException.class, () -> charMatcher.matchesAllOf(null));
102+
* assertThrows(NullPointerException.class, () -&gt; charMatcher.matchesAllOf(null));
103103
* }
104104
*
105105
* private static final class CharMatcherProvider implements TestParameterValuesProvider {
106106
* {@literal @}Override
107-
* public List<CharMatcher> provideValues() {
107+
* public {@literal List<CharMatcher>} provideValues() {
108108
* return ImmutableList.of(CharMatcher.any(), CharMatcher.ascii(), CharMatcher.whitespace());
109109
* }
110110
* }

src/main/java/com/google/testing/junit/testparameterinjector/TestParameters.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
* <p>For dynamic sets of parameters or parameter types that are not supported here, use {@link
7474
* #valuesProvider()} and leave this field empty.
7575
*
76-
* <h3>Examples</h3>
76+
* <p><b>Examples</b>
7777
*
7878
* <pre>
7979
* {@literal @}Test
@@ -99,15 +99,15 @@
9999
*
100100
* <p>If this field is set, {@link #value()} must be empty and vice versa.
101101
*
102-
* <h3>Example</h3>
102+
* <p><b>Example</b>
103103
*
104104
* <pre>
105105
* {@literal @}Test
106106
* {@literal @}TestParameters(valuesProvider = IsAdultValueProvider.class)
107107
* public void personIsAdult(int age, boolean expectIsAdult) { ... }
108108
*
109109
* private static final class IsAdultValueProvider implements TestParametersValuesProvider {
110-
* {@literal @}Override public List<TestParametersValues> provideValues() {
110+
* {@literal @}Override public {@literal List<TestParametersValues>} provideValues() {
111111
* return ImmutableList.of(
112112
* TestParametersValues.builder()
113113
* .name("teenager")

0 commit comments

Comments
 (0)