From 9de9983e25ce8f2b0ff493ef5b8ba3d673c2f398 Mon Sep 17 00:00:00 2001 From: Leo Li <269739606@qq.com> Date: Mon, 15 Nov 2021 17:02:34 +0800 Subject: [PATCH] Fix @deprecated and @see in Archive's javadoc See gh-28677 --- .../boot/loader/archive/Archive.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java index b1785eedccf7..7b8d53e6bab1 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java @@ -86,9 +86,9 @@ default List getNestedArchives(EntryFilter filter) throws IOException { /** * Return a new iterator for the archive entries. * @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 #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. + * @see java.lang.Iterable#iterator() */ @Deprecated @Override @@ -98,9 +98,9 @@ default List getNestedArchives(EntryFilter filter) throws IOException { * Performs the given action for each element of the {@code Iterable} until all * 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 - * @see Iterable#forEach {@link org.springframework.boot.loader.jar.JarFile} to access - * entries and {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing - * nested archives. + * {@link org.springframework.boot.loader.jar.JarFile} to access entries and + * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. + * @see Iterable#forEach */ @Deprecated @Override @@ -114,9 +114,9 @@ default void forEach(Consumer action) { /** * 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 - * @see Iterable#spliterator {@link org.springframework.boot.loader.jar.JarFile} to - * access entries and {@link #getNestedArchives(EntryFilter, EntryFilter)} for - * accessing nested archives. + * {@link org.springframework.boot.loader.jar.JarFile} to access entries and + * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. + * @see Iterable#spliterator */ @Deprecated @Override