Fixed missing @override

This commit is contained in:
Erik C. Thauvin 2023-10-29 13:01:03 -07:00
parent e9dede89bf
commit b4282b2b73
2 changed files with 6 additions and 2 deletions

View file

@ -76,8 +76,8 @@ public class BootJarOperation extends AbstractBootOperation {
* @return this operation instance * @return this operation instance
*/ */
@Override @Override
public AbstractBootOperation infLibs(File... jar) { public BootJarOperation infLibs(File... jar) {
return super.infLibs(jar); return (BootJarOperation) super.infLibs(jar);
} }
/** /**
@ -91,6 +91,7 @@ public class BootJarOperation extends AbstractBootOperation {
/** /**
* Part of the {@link #execute} operation, configure the launcher ({@code spring-boot-loader}) JAR(s). * Part of the {@link #execute} operation, configure the launcher ({@code spring-boot-loader}) JAR(s).
*/ */
@Override
public BootJarOperation launcherJars(List<File> jars) throws IOException { public BootJarOperation launcherJars(List<File> jars) throws IOException {
return (BootJarOperation) super.launcherJars(jars); return (BootJarOperation) super.launcherJars(jars);
} }
@ -98,6 +99,7 @@ public class BootJarOperation extends AbstractBootOperation {
/** /**
* Provides the fully-qualified main class name. * Provides the fully-qualified main class name.
*/ */
@Override
public BootJarOperation mainClass(String className) { public BootJarOperation mainClass(String className) {
return (BootJarOperation) super.mainClass(className); return (BootJarOperation) super.mainClass(className);
} }

View file

@ -93,6 +93,7 @@ public class BootWarOperation extends AbstractBootOperation {
/** /**
* Part of the {@link #execute} operation, configure the launcher ({@code spring-boot-loader}) JAR(s). * Part of the {@link #execute} operation, configure the launcher ({@code spring-boot-loader}) JAR(s).
*/ */
@Override
public BootWarOperation launcherJars(List<File> jars) throws IOException { public BootWarOperation launcherJars(List<File> jars) throws IOException {
return (BootWarOperation) super.launcherJars(jars); return (BootWarOperation) super.launcherJars(jars);
} }
@ -100,6 +101,7 @@ public class BootWarOperation extends AbstractBootOperation {
/** /**
* Provides the fully-qualified main class name. * Provides the fully-qualified main class name.
*/ */
@Override
public BootWarOperation mainClass(String className) { public BootWarOperation mainClass(String className) {
return (BootWarOperation) super.mainClass(className); return (BootWarOperation) super.mainClass(className);
} }