private void addJSFImpl(String jsfVersion,
            ModuleSpecification moduleSpecification,
            ModuleLoader moduleLoader) {
    """
	/*  private boolean isJSFSpecOver1_1(ModuleIdentifier jsfModule, ModuleDependency jsfAPI) throws DeploymentUnitProcessingException {
	try {
	return (jsfAPI.getModuleLoader().loadModule(jsfModule).getClassLoader().getResource("/javax/faces/component/ActionSource2.class") != null);
	} catch (ModuleLoadException e) {
	throw new DeploymentUnitProcessingException(e);
	}
	}
    """
        if (jsfVersion.equals(JsfVersionMarker.WAR_BUNDLES_JSF_IMPL)) return;

        ModuleIdentifier jsfModule = moduleIdFactory.getImplModId(jsfVersion);
        ModuleDependency jsfImpl = new ModuleDependency(moduleLoader, jsfModule, false, false, true, false);
        jsfImpl.addImportFilter(PathFilters.getMetaInfFilter(), true);
        moduleSpecification.addSystemDependency(jsfImpl);
    }
private void addJSFImpl(String jsfVersion,
            ModuleSpecification moduleSpecification,
            ModuleLoader moduleLoader) {
        if (jsfVersion.equals(JsfVersionMarker.WAR_BUNDLES_JSF_IMPL)) return;

        ModuleIdentifier jsfModule = moduleIdFactory.getImplModId(jsfVersion);
        ModuleDependency jsfImpl = new ModuleDependency(moduleLoader, jsfModule, false, false, true, false);
        jsfImpl.addImportFilter(PathFilters.getMetaInfFilter(), true);
        moduleSpecification.addSystemDependency(jsfImpl);
    }
private void addJSFImpl ( String jsfVersion , ModuleSpecification moduleSpecification , ModuleLoader moduleLoader ) { if ( jsfVersion . equals ( JsfVersionMarker . WAR_BUNDLES_JSF_IMPL ) ) return ; ModuleIdentifier jsfModule = moduleIdFactory . getImplModId ( jsfVersion ) ; ModuleDependency jsfImpl = new ModuleDependency ( moduleLoader , jsfModule , false , false , true , false ) ; jsfImpl . addImportFilter ( PathFilters . getMetaInfFilter ( ) , true ) ; moduleSpecification . addSystemDependency ( jsfImpl ) ; }
/*  private boolean isJSFSpecOver1_1(ModuleIdentifier jsfModule, ModuleDependency jsfAPI) throws DeploymentUnitProcessingException {
try {
return (jsfAPI.getModuleLoader().loadModule(jsfModule).getClassLoader().getResource("/javax/faces/component/ActionSource2.class") != null);
} catch (ModuleLoadException e) {
throw new DeploymentUnitProcessingException(e);
}
}
/ * private boolean isJSFSpecOver1_1 ( ModuleIdentifier jsfModule ModuleDependency jsfAPI ) throws DeploymentUnitProcessingException { try { return ( jsfAPI . getModuleLoader () . loadModule ( jsfModule ) . getClassLoader () . getResource ( / javax / faces / component / ActionSource2 . class ) ! = null ) ; } catch ( ModuleLoadException e ) { throw new DeploymentUnitProcessingException ( e ) ; } }