diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListener.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListener.java index 1419abb1575c..c4382faca38c 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListener.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListener.java @@ -55,10 +55,6 @@ protected TotalProgressListener(Consumer consumer, String[] this.trackedStatusKeys = trackedStatusKeys; } - @Override - public void onStart() { - } - @Override public void onUpdate(E event) { if (event.getId() != null) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java b/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java index 33bc0b3ad346..32ee34e87d9b 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java @@ -52,11 +52,6 @@ public String getUsageHelp() { return "command"; } - @Override - public String getHelp() { - return null; - } - @Override public Collection getOptionsHelp() { List help = new ArrayList<>(); diff --git a/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java b/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java index d6f6b11f0868..1920c72bebdd 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java @@ -215,10 +215,6 @@ protected void beforeRun(Command command) { this.lastCommand = command; } - @Override - protected void afterRun(Command command) { - } - boolean handleSigInt() { Command command = this.lastCommand; if (command instanceof RunProcessCommand runProcessCommand) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java b/spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java index 5fc62ff8836a..dc4155f65cc6 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java @@ -220,11 +220,6 @@ private Iterator listFiles(File file) { return Arrays.asList(files).iterator(); } - @Override - public void remove() { - throw new UnsupportedOperationException("remove"); - } - protected abstract T adapt(FileEntry entry); } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/NestedJarFile.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/NestedJarFile.java index e12cc4c3efc1..371f2fffae9c 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/NestedJarFile.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/NestedJarFile.java @@ -575,11 +575,6 @@ boolean isOwnedBy(NestedJarFile nestedJarFile) { return NestedJarFile.this == nestedJarFile; } - @Override - public String getRealName() { - return super.getName(); - } - @Override public String getName() { return this.name;