diff --git a/extensions/container-image/container-image-openshift/deployment/src/main/java/io/quarkus/container/image/openshift/deployment/OpenshiftBuild.java b/extensions/container-image/container-image-openshift/deployment/src/main/java/io/quarkus/container/image/openshift/deployment/OpenshiftBuild.java index 8956edbf3e03e..32ce09e05fcff 100644 --- a/extensions/container-image/container-image-openshift/deployment/src/main/java/io/quarkus/container/image/openshift/deployment/OpenshiftBuild.java +++ b/extensions/container-image/container-image-openshift/deployment/src/main/java/io/quarkus/container/image/openshift/deployment/OpenshiftBuild.java @@ -6,7 +6,7 @@ public class OpenshiftBuild implements BooleanSupplier { - private ContainerImageConfig containerImageConfig; + private final ContainerImageConfig containerImageConfig; OpenshiftBuild(ContainerImageConfig containerImageConfig) { this.containerImageConfig = containerImageConfig; diff --git a/extensions/container-image/container-image-s2i/deployment/src/main/java/io/quarkus/container/image/s2i/deployment/S2iBuild.java b/extensions/container-image/container-image-s2i/deployment/src/main/java/io/quarkus/container/image/s2i/deployment/S2iBuild.java index 9feb35ca3e96c..7ac85ef0ad4e1 100644 --- a/extensions/container-image/container-image-s2i/deployment/src/main/java/io/quarkus/container/image/s2i/deployment/S2iBuild.java +++ b/extensions/container-image/container-image-s2i/deployment/src/main/java/io/quarkus/container/image/s2i/deployment/S2iBuild.java @@ -6,7 +6,7 @@ public class S2iBuild implements BooleanSupplier { - private ContainerImageConfig containerImageConfig; + private final ContainerImageConfig containerImageConfig; S2iBuild(ContainerImageConfig containerImageConfig) { this.containerImageConfig = containerImageConfig;