This is an automated email from the ASF dual-hosted git repository. zehnder pushed a commit to branch hotfix-remove-stream-identifier in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 1d01f2f8cb3f2cfb0784cb4d0c5cf2bba5d17ebf Author: Philipp Zehnder <[email protected]> AuthorDate: Thu Jul 11 22:36:20 2024 +0200 refactor: Remove deprecated class StreamIdentifier --- .../streampipes/sdk/helpers/StreamIdentifier.java | 41 ---------------------- 1 file changed, 41 deletions(-) diff --git a/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/helpers/StreamIdentifier.java b/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/helpers/StreamIdentifier.java deleted file mode 100644 index 912252a2ff..0000000000 --- a/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/helpers/StreamIdentifier.java +++ /dev/null @@ -1,41 +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.sdk.helpers; - -public enum StreamIdentifier { - - Stream0(0), Stream1(1); - - private Integer streamId; - - StreamIdentifier(Integer streamId) { - this.streamId = streamId; - } - - /** - * @deprecated Use {@link org.apache.streampipes.sdk.builder.AbstractProcessingElementBuilder} - * to add stream requirements. - * - * @return the stream ID - */ - @Deprecated(since = "0.90.0", forRemoval = true) - public Integer getStreamId() { - return streamId; - } -}
