code cleanup
This commit is contained in:
parent
2e74ea1b7b
commit
4cd05d5e2e
2 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ public class OlatLmsAPITemplate extends AbstractCachedCourseAccess implements Lm
|
||||||
private final Long lmsSetupId;
|
private final Long lmsSetupId;
|
||||||
|
|
||||||
protected OlatLmsAPITemplate(
|
protected OlatLmsAPITemplate(
|
||||||
|
|
||||||
// TODO if you need more dependencies inject them here and set the reference
|
// TODO if you need more dependencies inject them here and set the reference
|
||||||
|
|
||||||
final APITemplateDataSupplier apiTemplateDataSupplier,
|
final APITemplateDataSupplier apiTemplateDataSupplier,
|
||||||
final AsyncService asyncService,
|
final AsyncService asyncService,
|
||||||
final Environment environment,
|
final Environment environment,
|
||||||
|
|
|
@ -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
|
* 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
|
* can exist per defined LMSSetup, we need a specialized factory to build such
|
||||||
* a LmsAPITemplate for a specific LMSSetup.
|
* a LmsAPITemplate for a specific LMSSetup.
|
||||||
* </p<
|
* </p>
|
||||||
* Add needed dependencies as final fields and let them inject within the constructor
|
* 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. */
|
* as usual. Just add the additionally needed dependencies used to build a OlatLmsAPITemplate. */
|
||||||
public class OlatLmsAPITemplateFactory implements LmsAPITemplateFactory {
|
public class OlatLmsAPITemplateFactory implements LmsAPITemplateFactory {
|
||||||
|
|
Loading…
Reference in a new issue