From fcd771518a06e894c8e5d7a0821f6b819f2a328e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Br=C3=A4utigam?= Date: Thu, 19 Mar 2015 09:29:48 +0100 Subject: [PATCH] break added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tobias Bräutigam --- .../openhab/io/multimedia/tts/internal/TTSServiceFactory.java | 1 + 1 file changed, 1 insertion(+) 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) {