Polish "Add link to @Order annotation"

See gh-30572
pull/30668/head
Stephane Nicoll 3 years ago
parent c72f3d79af
commit c654638654

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2019 the original author or authors. * Copyright 2012-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -33,6 +33,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportSelector; import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.OrderComparator; import org.springframework.core.OrderComparator;
import org.springframework.core.Ordered; import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.test.context.junit4.SpringRunner; import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.ClassUtils; import org.springframework.util.ClassUtils;
@ -47,8 +48,8 @@ import org.springframework.util.ClassUtils;
* This class is primarily intended for use with tests that need to specify configuration * This class is primarily intended for use with tests that need to specify configuration
* classes but can't use {@link SpringRunner}. * classes but can't use {@link SpringRunner}.
* <p> * <p>
* Implementations of this class should be annotated with {@link org.springframework.core.annotation.Order @Order} or implement * Implementations of this class should be annotated with {@link Order @Order} or
* {@link Ordered}. * implement {@link Ordered}.
* *
* @author Phillip Webb * @author Phillip Webb
* @since 2.0.0 * @since 2.0.0

Loading…
Cancel
Save