enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/ImageEnricher.java
private void updateContainers(KubernetesListBuilder builder) {
        builder.accept(new TypedVisitor<PodTemplateSpecBuilder>() {
            @Override
            public void visit(PodTemplateSpecBuilder templateBuilder) {
                PodTemplateSpecFluent.SpecNested<PodTemplateSpecBuilder> podSpec =
                    templateBuilder.getSpec() == null ? templateBuilder.withNewSpec() : templateBuilder.editSpec();

                List<Container> containers = podSpec.getContainers();
                if (containers == null) {
                    containers = new ArrayList<Container>();
                }
                mergeImageConfigurationWithContainerSpec(containers);
                podSpec.withContainers(containers).endSpec();
            }
        });
    }
private void updateContainers(KubernetesListBuilder builder) {
        builder.accept(new TypedVisitor<PodTemplateSpecBuilder>() {
            @Override
            public void visit(PodTemplateSpecBuilder templateBuilder) {
                PodTemplateSpecFluent.SpecNested<PodTemplateSpecBuilder> podSpec =
                    templateBuilder.getSpec() == null ? templateBuilder.withNewSpec() : templateBuilder.editSpec();

                List<Container> containers = podSpec.getContainers();
                if (containers == null) {
                    containers = new ArrayList<Container>();
                }
                mergeImageConfigurationWithContainerSpec(containers);
                podSpec.withContainers(containers).endSpec();
            }
        });
    }
private void updateContainers ( KubernetesListBuilder builder ) { builder . accept ( new TypedVisitor < PodTemplateSpecBuilder > ( ) { @ Override public void visit ( PodTemplateSpecBuilder templateBuilder ) { PodTemplateSpecFluent . SpecNested < PodTemplateSpecBuilder > podSpec = templateBuilder . getSpec ( ) == null ? templateBuilder . withNewSpec ( ) : templateBuilder . editSpec ( ) ; List < Container > containers = podSpec . getContainers ( ) ; if ( containers == null ) { containers = new ArrayList < Container > ( ) ; } mergeImageConfigurationWithContainerSpec ( containers ) ; podSpec . withContainers ( containers ) . endSpec ( ) ; } } ) ; }
============================================================================================================
============================================================================================================