Skip to content

Commit

Permalink
Fix version references to be 1.x in Platform and 5.x in Jupiter
Browse files Browse the repository at this point in the history
(cherry picked from commit c9d8cb1)
  • Loading branch information
marcphilipp committed Feb 14, 2025
1 parent 1d2f982 commit ed1773c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Assertions for unit tests that wish to test
* {@link Object#equals(Object)} and {@link Object#hashCode()}.
*
* @since 1.3
* @since 5.3
*/
public class EqualsAndHashCodeAssertions {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.junit.platform.commons.util.Preconditions;

/**
* @since 1.12
* @since 5.12
*/
class DefaultTestReporter implements TestReporter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
* itself. <strong>Any usage by external parties is not supported.</strong>
* Use at your own risk!
*
* @since 5.11
* @since 1.11
*/
@API(status = API.Status.INTERNAL, since = "5.11")
@API(status = API.Status.INTERNAL, since = "1.11")
public class ServiceLoaderUtils {

private ServiceLoaderUtils() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
* itself. <strong>Any usage by external parties is not supported.</strong>
* Use at your own risk!
*
* @since 5.11
* @since 1.11
*/
@API(status = Status.INTERNAL, since = "5.11")
@API(status = Status.INTERNAL, since = "1.11")
public class ServiceLoaderUtils {

private ServiceLoaderUtils() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ default Set<? extends TestDescriptor> getDescendants() {
* @param orderer a unary operator to order the children of this test
* descriptor.
*/
@API(since = "5.12", status = EXPERIMENTAL)
@API(since = "1.12", status = EXPERIMENTAL)
default void orderChildren(UnaryOperator<List<TestDescriptor>> orderer) {
Preconditions.notNull(orderer, "orderer must not be null");
Set<? extends TestDescriptor> originalChildren = getChildren();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class ReportEntry {
/**
* @deprecated Use {@link #from(String, String)} or {@link #from(Map)}
*/
@API(status = DEPRECATED, since = "5.8")
@API(status = DEPRECATED, since = "1.8")
@Deprecated
public ReportEntry() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ public String getUniqueId() {
* behind the scenes.
*
* @return the unique ID for this identifier; never {@code null}
* @since 5.8
* @since 1.8
*/
@API(status = STABLE, since = "5.8")
@API(status = STABLE, since = "1.8")
public UniqueId getUniqueIdObject() {
return this.uniqueId;
}
Expand All @@ -150,9 +150,9 @@ public Optional<String> getParentId() {
*
* @return a container for the unique ID for this identifier's parent;
* never {@code null} though potentially <em>empty</em>
* @since 5.8
* @since 1.8
*/
@API(status = STABLE, since = "5.8")
@API(status = STABLE, since = "1.8")
public Optional<UniqueId> getParentIdObject() {
return Optional.ofNullable(this.parentId);
}
Expand Down Expand Up @@ -291,7 +291,7 @@ private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOEx

/**
* Represents the serialized output of {@code TestIdentifier}. The fields on this
* class match the fields that {@code TestIdentifier} had prior to 5.8.
* class match the fields that {@code TestIdentifier} had prior to 1.8.
*/
private static class SerializedForm implements Serializable {

Expand Down

0 comments on commit ed1773c

Please # to comment.