Skip to content

Commit c110619

Browse files
committed
Add missing @⁠since tag and polish/format Javadoc
1 parent 6804dd9 commit c110619

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

junit-platform-engine/src/main/java/org/junit/platform/engine/TestDescriptor.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@ default Set<? extends TestDescriptor> getDescendants() {
177177
void removeFromHierarchy();
178178

179179
/**
180-
* Order the children from this descriptor.
180+
* Order the children of this descriptor.
181181
*
182182
* <p>The {@code orderer} is provided a modifiable list of child test
183-
* descriptors in this test descriptor; never {@code null}. The
183+
* descriptors of this test descriptor; never {@code null}. The
184184
* {@code orderer} must return a list containing the same descriptors in any
185185
* order; potentially the same list, but never {@code null}. If descriptors
186-
* were added or removed, an exception is thrown.
186+
* are added or removed, an exception is thrown.
187187
*
188-
* @param orderer a unary operator to order the children of this test
189-
* descriptor.
188+
* @param orderer a unary operator to order the children of this test descriptor
189+
* @since 1.12
190190
*/
191191
@API(since = "1.12", status = EXPERIMENTAL)
192192
default void orderChildren(UnaryOperator<List<TestDescriptor>> orderer) {

junit-vintage-engine/src/main/java/org/junit/vintage/engine/Constants.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,23 @@ public final class Constants {
4747
public static final String PARALLEL_POOL_SIZE = "junit.vintage.execution.parallel.pool-size";
4848

4949
/**
50-
* Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.
50+
* Indicates whether parallel execution is enabled for test classes in the
51+
* JUnit Vintage engine.
5152
*
52-
* <p>Set this property to {@code true} to enable parallel execution of test classes.
53-
* Defaults to {@code false}.
53+
* <p>Set this property to {@code true} to enable parallel execution of test
54+
* classes. Defaults to {@code false}.
5455
*
5556
* @since 5.12
5657
*/
5758
@API(status = EXPERIMENTAL, since = "5.12")
5859
public static final String PARALLEL_CLASS_EXECUTION = "junit.vintage.execution.parallel.classes";
5960

6061
/**
61-
* Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.
62+
* Indicates whether parallel execution is enabled for test methods in the
63+
* JUnit Vintage engine.
6264
*
63-
* <p>Set this property to {@code true} to enable parallel execution of test methods.
64-
* Defaults to {@code false}.
65+
* <p>Set this property to {@code true} to enable parallel execution of test
66+
* methods. Defaults to {@code false}.
6567
*
6668
* @since 5.12
6769
*/

junit-vintage-engine/src/main/java/org/junit/vintage/engine/execution/VintageExecutor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,5 @@ private void shutdownExecutorService(ExecutorService executorService) {
186186
Thread.currentThread().interrupt();
187187
}
188188
}
189+
189190
}

0 commit comments

Comments
 (0)