Fix @deprecated and @see in Archive's javadoc

See gh-28677
2.4.x
Leo Li 3 years ago committed by Andy Wilkinson
parent 9d02d9a07d
commit 9de9983e25

@ -86,9 +86,9 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
/** /**
* Return a new iterator for the archive entries. * Return a new iterator for the archive entries.
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of using * @deprecated since 2.3.0 for removal in 2.5.0 in favor of using
* @see java.lang.Iterable#iterator()
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and * {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
* @see java.lang.Iterable#iterator()
*/ */
@Deprecated @Deprecated
@Override @Override
@ -98,9 +98,9 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
* Performs the given action for each element of the {@code Iterable} until all * Performs the given action for each element of the {@code Iterable} until all
* elements have been processed or the action throws an exception. * elements have been processed or the action throws an exception.
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of using * @deprecated since 2.3.0 for removal in 2.5.0 in favor of using
* @see Iterable#forEach {@link org.springframework.boot.loader.jar.JarFile} to access * {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* entries and {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
* nested archives. * @see Iterable#forEach
*/ */
@Deprecated @Deprecated
@Override @Override
@ -114,9 +114,9 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
/** /**
* Creates a {@link Spliterator} over the elements described by this {@code Iterable}. * Creates a {@link Spliterator} over the elements described by this {@code Iterable}.
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of using * @deprecated since 2.3.0 for removal in 2.5.0 in favor of using
* @see Iterable#spliterator {@link org.springframework.boot.loader.jar.JarFile} to * {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* access entries and {@link #getNestedArchives(EntryFilter, EntryFilter)} for * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
* accessing nested archives. * @see Iterable#spliterator
*/ */
@Deprecated @Deprecated
@Override @Override

Loading…
Cancel
Save