You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2023/01/04 20:46:30 UTC

[streampipes] branch dev updated: [hotfix] Remove unused message interface

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8a977ce3f [hotfix] Remove unused message interface
8a977ce3f is described below

commit 8a977ce3fe74e1bb7899cf9c31d990f4f891aa7e
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Wed Jan 4 18:07:15 2023 +0100

    [hotfix] Remove unused message interface
---
 .../commons/messaging/IMessageListener.java        | 25 --------------------
 .../commons/messaging/IMessagePublisher.java       | 27 ----------------------
 2 files changed, 52 deletions(-)

diff --git a/streampipes-commons/src/main/java/org/apache/streampipes/commons/messaging/IMessageListener.java b/streampipes-commons/src/main/java/org/apache/streampipes/commons/messaging/IMessageListener.java
deleted file mode 100644
index 9948fa846..000000000
--- a/streampipes-commons/src/main/java/org/apache/streampipes/commons/messaging/IMessageListener.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-package org.apache.streampipes.commons.messaging;
-
-public interface IMessageListener<T> {
-
-  void onEvent(T payload);
-
-}
diff --git a/streampipes-commons/src/main/java/org/apache/streampipes/commons/messaging/IMessagePublisher.java b/streampipes-commons/src/main/java/org/apache/streampipes/commons/messaging/IMessagePublisher.java
deleted file mode 100644
index ac707c18c..000000000
--- a/streampipes-commons/src/main/java/org/apache/streampipes/commons/messaging/IMessagePublisher.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-package org.apache.streampipes.commons.messaging;
-
-import java.io.Serializable;
-
-public interface IMessagePublisher<T> extends Serializable {
-
-  void publish(T message);
-
-}