X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.core%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcore%2Fexecution%2FExecutionResourcesFactoryBean.java;fp=org.argeo.slc.core%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcore%2Fexecution%2FExecutionResourcesFactoryBean.java;h=0b887da5af4f2bf9f7cdd93f5e583f74924f7c80;hb=0d17b16f0082b7404009354544ea0b9c71b48f48;hp=bf5ffef120442398ded8cad6cd052dac5228340e;hpb=77558c9785abc8fecd31c049f8eaa67cb86a4b38;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.core/src/org/argeo/slc/core/execution/ExecutionResourcesFactoryBean.java b/org.argeo.slc.core/src/org/argeo/slc/core/execution/ExecutionResourcesFactoryBean.java index bf5ffef12..0b887da5a 100644 --- a/org.argeo.slc.core/src/org/argeo/slc/core/execution/ExecutionResourcesFactoryBean.java +++ b/org.argeo.slc.core/src/org/argeo/slc/core/execution/ExecutionResourcesFactoryBean.java @@ -19,12 +19,12 @@ import org.springframework.beans.factory.FactoryBean; import org.springframework.core.io.Resource; import org.springframework.util.Assert; -/** Workaround when execution placedholders needs to be passed.*/ -public class ExecutionResourcesFactoryBean implements FactoryBean { +/** Workaround when execution placedholders needs to be passed. */ +public class ExecutionResourcesFactoryBean implements FactoryBean { private ExecutionResources executionResources; private String relativePath; - public Object getObject() throws Exception { + public Resource getObject() throws Exception { Assert.notNull(executionResources, "executionResources is null"); Assert.notNull(relativePath, "relativePath is null"); return executionResources.getWritableResource(relativePath);