From 4cd05d5e2e734c3142193bb8320bf7a037ca91be Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 18 May 2021 09:01:23 +0200 Subject: [PATCH] code cleanup --- .../servicelayer/lms/impl/olat/OlatLmsAPITemplate.java | 2 ++ .../servicelayer/lms/impl/olat/OlatLmsAPITemplateFactory.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java index bb653ec0..b25519f8 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java @@ -49,7 +49,9 @@ public class OlatLmsAPITemplate extends AbstractCachedCourseAccess implements Lm private final Long lmsSetupId; protected OlatLmsAPITemplate( + // TODO if you need more dependencies inject them here and set the reference + final APITemplateDataSupplier apiTemplateDataSupplier, final AsyncService asyncService, final Environment environment, diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplateFactory.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplateFactory.java index e768bccf..05cce45b 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplateFactory.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplateFactory.java @@ -28,7 +28,7 @@ import ch.ethz.seb.sebserver.webservice.servicelayer.lms.LmsAPITemplateFactory; * is whether a singleton component nor a simple prototype but one (singleton) instance * can exist per defined LMSSetup, we need a specialized factory to build such * a LmsAPITemplate for a specific LMSSetup. - * * Add needed dependencies as final fields and let them inject within the constructor * as usual. Just add the additionally needed dependencies used to build a OlatLmsAPITemplate. */ public class OlatLmsAPITemplateFactory implements LmsAPITemplateFactory {