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

karp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-streams.git


The following commit(s) were added to refs/heads/main by this push:
     new a088f1c1 remove useless class
     new b6ee0a77 Merge pull request #241 from ni-ze/newWorld-4
a088f1c1 is described below

commit a088f1c1540be89600e1908c752530623c4bdf98
Author: 维章 <[email protected]>
AuthorDate: Wed Jan 4 09:26:49 2023 +0800

    remove useless class
---
 .../apache/rocketmq/streams/core/running/Task.java | 25 --------------
 .../rocketmq/streams/core/topology/Topology.java   | 28 ----------------
 .../streams/core/util/CommonNameMaker.java         | 38 ----------------------
 3 files changed, 91 deletions(-)

diff --git 
a/core/src/main/java/org/apache/rocketmq/streams/core/running/Task.java 
b/core/src/main/java/org/apache/rocketmq/streams/core/running/Task.java
deleted file mode 100644
index c0e736c9..00000000
--- a/core/src/main/java/org/apache/rocketmq/streams/core/running/Task.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.apache.rocketmq.streams.core.running;
-/*
- * 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.
- */
-
-/**
- * 包含完整拓扑图,processor上下游关系
- */
-public class Task {
-
-
-}
diff --git 
a/core/src/main/java/org/apache/rocketmq/streams/core/topology/Topology.java 
b/core/src/main/java/org/apache/rocketmq/streams/core/topology/Topology.java
deleted file mode 100644
index 7f2aef67..00000000
--- a/core/src/main/java/org/apache/rocketmq/streams/core/topology/Topology.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.apache.rocketmq.streams.core.topology;
-/*
- * 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.
- */
-
-public class Topology {
-    private TopologyBuilder topologyBuilder;
-
-    public Topology() {
-    }
-
-    public TopologyBuilder getTopologyBuilder() {
-        return topologyBuilder;
-    }
-}
diff --git 
a/core/src/main/java/org/apache/rocketmq/streams/core/util/CommonNameMaker.java 
b/core/src/main/java/org/apache/rocketmq/streams/core/util/CommonNameMaker.java
deleted file mode 100644
index 5cfe7a5d..00000000
--- 
a/core/src/main/java/org/apache/rocketmq/streams/core/util/CommonNameMaker.java
+++ /dev/null
@@ -1,38 +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.rocketmq.streams.core.util;
-
-import java.util.concurrent.atomic.AtomicLong;
-
-public class CommonNameMaker {
-    private static  final AtomicLong globalIndex = new AtomicLong(0);
-    private final Long localIndex;
-    private final String prefix;
-
-    public CommonNameMaker(String prefix) {
-        this.prefix = prefix;
-        this.localIndex = globalIndex.getAndAdd(1);
-    }
-
-    public Long getLocalIndex() {
-        return localIndex;
-    }
-
-    public String getPrefix() {
-        return prefix;
-    }
-}

Reply via email to