From 2dc8048d08c2af3ac3b29548898b2287b22dfb9c Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Mon, 1 Jun 2020 18:29:28 -0700 Subject: [PATCH] Add missing since tags Closes gh-21576 --- .../springframework/boot/loader/ExecutableArchiveLauncher.java | 3 +++ .../main/java/org/springframework/boot/loader/Launcher.java | 1 + .../java/org/springframework/boot/loader/archive/Archive.java | 1 + 3 files changed, 5 insertions(+) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java index 0841b227b6..95947250c6 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java @@ -130,6 +130,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher { * Determine if the specified entry is a candidate for further searching. * @param entry the entry to check * @return {@code true} if the entry is a candidate for further searching + * @since 2.3.0 */ protected boolean isSearchCandidate(Archive.Entry entry) { return true; @@ -149,6 +150,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher { * {@link #postProcessClassPathArchives(List)} should provide an implementation that * returns {@code false}. * @return if the {@link #postProcessClassPathArchives(List)} method is implemented + * @since 2.3.0 */ protected boolean isPostProcessingClassPathArchives() { return true; @@ -172,6 +174,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher { /** * Return the root archive. * @return the root archive + * @since 2.3.0 */ protected final Archive getArchive() { return this.archive; diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java index 5432ee222e..57085dc454 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java @@ -169,6 +169,7 @@ public abstract class Launcher { * {@code true} then only regular JARs are supported and the additional URL and * ClassLoader support infrastructure can be optimized. * @return if the jar is exploded. + * @since 2.3.0 */ protected boolean isExploded() { return true; 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 138649aa43..fff6b63465 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 @@ -93,6 +93,7 @@ public interface Archive extends Iterable, AutoCloseable { /** * Return if the archive is exploded (already unpacked). * @return if the archive is exploded + * @since 2.3.0 */ default boolean isExploded() { return false;