From 75252cf4aa145557181897f4229db4e21e9c5177 Mon Sep 17 00:00:00 2001 From: GiviMAD Date: Tue, 8 Feb 2022 16:36:12 +0100 Subject: [PATCH] [voice] remove unused stt events (#2741) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miguel Álvarez Díez --- .../openhab/core/voice/SpeechStartEvent.java | 24 ------------------- .../openhab/core/voice/SpeechStopEvent.java | 24 ------------------- 2 files changed, 48 deletions(-) delete mode 100644 bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStartEvent.java delete mode 100644 bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStopEvent.java diff --git a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStartEvent.java b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStartEvent.java deleted file mode 100644 index 3e417de17f..0000000000 --- a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStartEvent.java +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.voice; - -import org.eclipse.jdt.annotation.NonNullByDefault; - -/** - * A {@link STTEvent} fired when the {@link STTService} starts hearing speech. - * - * @author Kelly Davis - Initial contribution - */ -@NonNullByDefault -public class SpeechStartEvent implements STTEvent { -} diff --git a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStopEvent.java b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStopEvent.java deleted file mode 100644 index 8c7f58b596..0000000000 --- a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/SpeechStopEvent.java +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.voice; - -import org.eclipse.jdt.annotation.NonNullByDefault; - -/** - * A {@link STTEvent} fired when the {@link STTService} stops hearing speech. - * - * @author Kelly Davis - Initial contribution - */ -@NonNullByDefault -public class SpeechStopEvent implements STTEvent { -}