From 9afb438eeae0f5a5d6cf63afdaf4b5df8b06a895 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Tue, 7 Apr 2026 10:15:30 +0200 Subject: refactor: remove deprecated MtbService (#260) --- src/main/java/dev/dnpm/oshelper/config/PluginConfiguration.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/main/java/dev/dnpm/oshelper/config/PluginConfiguration.java') diff --git a/src/main/java/dev/dnpm/oshelper/config/PluginConfiguration.java b/src/main/java/dev/dnpm/oshelper/config/PluginConfiguration.java index f52fa29..bb6619f 100644 --- a/src/main/java/dev/dnpm/oshelper/config/PluginConfiguration.java +++ b/src/main/java/dev/dnpm/oshelper/config/PluginConfiguration.java @@ -19,6 +19,7 @@ package dev.dnpm.oshelper.config; +import de.itc.onkostar.api.IOnkostarApi; import dev.dnpm.oshelper.atc.services.AgentCodeService; import dev.dnpm.oshelper.atc.services.CsvAgentCodeService; import dev.dnpm.oshelper.atc.services.OnkostarAgentCodeService; @@ -27,14 +28,11 @@ import dev.dnpm.oshelper.services.*; import dev.dnpm.oshelper.services.consent.ConsentManagerServiceFactory; import dev.dnpm.oshelper.services.molekulargenetik.MolekulargenetikFormService; import dev.dnpm.oshelper.services.molekulargenetik.OsMolekulargenetikFormService; -import dev.dnpm.oshelper.services.mtb.DefaultMtbService; -import dev.dnpm.oshelper.services.mtb.MtbService; import dev.dnpm.oshelper.services.strahlentherapie.DefaultStrahlentherapieService; import dev.dnpm.oshelper.services.strahlentherapie.StrahlentherapieService; import dev.dnpm.oshelper.services.systemtherapie.DefaultSystemtherapieService; import dev.dnpm.oshelper.services.systemtherapie.SystemtherapieService; import dev.dnpm.oshelper.services.therapieplan.TherapieplanServiceFactory; -import de.itc.onkostar.api.IOnkostarApi; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @@ -67,11 +65,6 @@ public class PluginConfiguration { return new SettingsService(settingsRepository); } - @Bean - public MtbService mtbService(final IOnkostarApi onkostarApi) { - return new DefaultMtbService(onkostarApi); - } - @Bean public SystemtherapieService systemtherapieService( final IOnkostarApi onkostarApi, -- cgit v1.2.3