Skip to content

Commit 0d1b1cd

Browse files
author
Piyal Ahmed
committed
Remove unnecessary method overrides
Signed-off-by: Piyal Ahmed <[email protected]>
1 parent 912b50e commit 0d1b1cd

File tree

5 files changed

+0
-23
lines changed

5 files changed

+0
-23
lines changed

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListener.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ protected TotalProgressListener(Consumer<TotalProgressEvent> consumer, String[]
5555
this.trackedStatusKeys = trackedStatusKeys;
5656
}
5757

58-
@Override
59-
public void onStart() {
60-
}
61-
6258
@Override
6359
public void onUpdate(E event) {
6460
if (event.getId() != null) {

spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ public String getUsageHelp() {
5252
return "command";
5353
}
5454

55-
@Override
56-
public String getHelp() {
57-
return null;
58-
}
59-
6055
@Override
6156
public Collection<OptionHelp> getOptionsHelp() {
6257
List<OptionHelp> help = new ArrayList<>();

spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ protected void beforeRun(Command command) {
215215
this.lastCommand = command;
216216
}
217217

218-
@Override
219-
protected void afterRun(Command command) {
220-
}
221-
222218
boolean handleSigInt() {
223219
Command command = this.lastCommand;
224220
if (command instanceof RunProcessCommand runProcessCommand) {

spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,6 @@ private Iterator<File> listFiles(File file) {
220220
return Arrays.asList(files).iterator();
221221
}
222222

223-
@Override
224-
public void remove() {
225-
throw new UnsupportedOperationException("remove");
226-
}
227-
228223
protected abstract T adapt(FileEntry entry);
229224

230225
}

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/NestedJarFile.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,6 @@ boolean isOwnedBy(NestedJarFile nestedJarFile) {
575575
return NestedJarFile.this == nestedJarFile;
576576
}
577577

578-
@Override
579-
public String getRealName() {
580-
return super.getName();
581-
}
582-
583578
@Override
584579
public String getName() {
585580
return this.name;

0 commit comments

Comments
 (0)