Skip to content

Commit ed1773c

Browse files
committed
Fix version references to be 1.x in Platform and 5.x in Jupiter
(cherry picked from commit c9d8cb1)
1 parent 1d2f982 commit ed1773c

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

junit-jupiter-api/src/testFixtures/java/org/junit/jupiter/api/EqualsAndHashCodeAssertions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Assertions for unit tests that wish to test
1717
* {@link Object#equals(Object)} and {@link Object#hashCode()}.
1818
*
19-
* @since 1.3
19+
* @since 5.3
2020
*/
2121
public class EqualsAndHashCodeAssertions {
2222

junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/extension/DefaultTestReporter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.junit.platform.commons.util.Preconditions;
2121

2222
/**
23-
* @since 1.12
23+
* @since 5.12
2424
*/
2525
class DefaultTestReporter implements TestReporter {
2626

junit-platform-commons/src/main/java/org/junit/platform/commons/util/ServiceLoaderUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
* itself. <strong>Any usage by external parties is not supported.</strong>
2727
* Use at your own risk!
2828
*
29-
* @since 5.11
29+
* @since 1.11
3030
*/
31-
@API(status = API.Status.INTERNAL, since = "5.11")
31+
@API(status = API.Status.INTERNAL, since = "1.11")
3232
public class ServiceLoaderUtils {
3333

3434
private ServiceLoaderUtils() {

junit-platform-commons/src/main/java9/org/junit/platform/commons/util/ServiceLoaderUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
* itself. <strong>Any usage by external parties is not supported.</strong>
2727
* Use at your own risk!
2828
*
29-
* @since 5.11
29+
* @since 1.11
3030
*/
31-
@API(status = Status.INTERNAL, since = "5.11")
31+
@API(status = Status.INTERNAL, since = "1.11")
3232
public class ServiceLoaderUtils {
3333

3434
private ServiceLoaderUtils() {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ default Set<? extends TestDescriptor> getDescendants() {
188188
* @param orderer a unary operator to order the children of this test
189189
* descriptor.
190190
*/
191-
@API(since = "5.12", status = EXPERIMENTAL)
191+
@API(since = "1.12", status = EXPERIMENTAL)
192192
default void orderChildren(UnaryOperator<List<TestDescriptor>> orderer) {
193193
Preconditions.notNull(orderer, "orderer must not be null");
194194
Set<? extends TestDescriptor> originalChildren = getChildren();

junit-platform-engine/src/main/java/org/junit/platform/engine/reporting/ReportEntry.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public final class ReportEntry {
3939
/**
4040
* @deprecated Use {@link #from(String, String)} or {@link #from(Map)}
4141
*/
42-
@API(status = DEPRECATED, since = "5.8")
42+
@API(status = DEPRECATED, since = "1.8")
4343
@Deprecated
4444
public ReportEntry() {
4545
}

junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ public String getUniqueId() {
122122
* behind the scenes.
123123
*
124124
* @return the unique ID for this identifier; never {@code null}
125-
* @since 5.8
125+
* @since 1.8
126126
*/
127-
@API(status = STABLE, since = "5.8")
127+
@API(status = STABLE, since = "1.8")
128128
public UniqueId getUniqueIdObject() {
129129
return this.uniqueId;
130130
}
@@ -150,9 +150,9 @@ public Optional<String> getParentId() {
150150
*
151151
* @return a container for the unique ID for this identifier's parent;
152152
* never {@code null} though potentially <em>empty</em>
153-
* @since 5.8
153+
* @since 1.8
154154
*/
155-
@API(status = STABLE, since = "5.8")
155+
@API(status = STABLE, since = "1.8")
156156
public Optional<UniqueId> getParentIdObject() {
157157
return Optional.ofNullable(this.parentId);
158158
}
@@ -291,7 +291,7 @@ private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOEx
291291

292292
/**
293293
* Represents the serialized output of {@code TestIdentifier}. The fields on this
294-
* class match the fields that {@code TestIdentifier} had prior to 5.8.
294+
* class match the fields that {@code TestIdentifier} had prior to 1.8.
295295
*/
296296
private static class SerializedForm implements Serializable {
297297

0 commit comments

Comments
 (0)