From e1c57ddf6596e4709fc29ce8e126d69dc53b70aa Mon Sep 17 00:00:00 2001 From: Jad El-khoury Date: Fri, 9 Feb 2024 09:47:29 +0100 Subject: [PATCH] removing lineseperator() code that causes inconsitent lineendings. --- .../lyo/oslc4j/codegenerator/files/generateResourceService.mtl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.eclipse.lyo.oslc4j.codegenerator/src/org/eclipse/lyo/oslc4j/codegenerator/files/generateResourceService.mtl b/org.eclipse.lyo.oslc4j.codegenerator/src/org/eclipse/lyo/oslc4j/codegenerator/files/generateResourceService.mtl index 84e03de8..1fc5bca9 100644 --- a/org.eclipse.lyo.oslc4j.codegenerator/src/org/eclipse/lyo/oslc4j/codegenerator/files/generateResourceService.mtl +++ b/org.eclipse.lyo.oslc4j.codegenerator/src/org/eclipse/lyo/oslc4j/codegenerator/files/generateResourceService.mtl @@ -110,7 +110,8 @@ import org.eclipse.lyo.oslc4j.core.model.AbstractResource; import [javaClassFullNameForAdaptorManager(anAdaptorInterface) /]; import [javaInterfaceFullNameForAdaptorConstants(anAdaptorInterface) /]; -[for (aDomainSpecification: DomainSpecification | (aService.servicedResources().definingDomainSpecification()->union(Set{aService.domainSpecification}))->sortedBy(name)) separator(lineSeparator())]import [javaInterfaceFullNameForConstants(aDomainSpecification, anAdaptorInterface, null) /];[/for] +[for (aDomainSpecification: DomainSpecification | (aService.servicedResources().definingDomainSpecification()->union(Set{aService.domainSpecification}))->sortedBy(name)))]import [javaInterfaceFullNameForConstants(aDomainSpecification, anAdaptorInterface, null) /]; +[/for] import [javaClassFullNameForSingleton(anAdaptorInterface.serviceProviderCatalog) /]; [for (aResource: Resource | aService.relevantResources()->sortedBy(name))] import [javaClassFullName(aResource, anAdaptorInterface, null) /];