diff --git a/bundles/core/org.openhab.core.compat1x/src/main/java/org/openhab/io/multimedia/tts/internal/TTSServiceFactory.java b/bundles/core/org.openhab.core.compat1x/src/main/java/org/openhab/io/multimedia/tts/internal/TTSServiceFactory.java index 4253037b5653c..14349b003c25b 100644 --- a/bundles/core/org.openhab.core.compat1x/src/main/java/org/openhab/io/multimedia/tts/internal/TTSServiceFactory.java +++ b/bundles/core/org.openhab.core.compat1x/src/main/java/org/openhab/io/multimedia/tts/internal/TTSServiceFactory.java @@ -88,6 +88,7 @@ private void registerDelegateService(TTSService ttsService) { filePath = filePath.substring(0,filePath.length()-5); // skip .java ending if (filePath.equals(ttsService.getClass().getName())) { found = true; + break; } } if (found) {