From 817db3a7e46e5e274d8967e87fb7d13b03da8d83 Mon Sep 17 00:00:00 2001 From: Carsten Lohmann Date: Tue, 19 Sep 2023 07:50:45 +0200 Subject: [PATCH] Move CgroupV1KubernetesContainerUtil into hono-client-command. Signed-off-by: Carsten Lohmann --- .../hono/client/command}/CgroupV1KubernetesContainerUtil.java | 2 +- .../org/eclipse/hono/client/command/CommandRoutingUtil.java | 1 - .../client/command}/CgroupV1KubernetesContainerUtilTest.java | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename {core/src/main/java/org/eclipse/hono/util => clients/command/src/main/java/org/eclipse/hono/client/command}/CgroupV1KubernetesContainerUtil.java (99%) rename {core/src/test/java/org/eclipse/hono/util => clients/command/src/test/java/org/eclipse/hono/client/command}/CgroupV1KubernetesContainerUtilTest.java (98%) diff --git a/core/src/main/java/org/eclipse/hono/util/CgroupV1KubernetesContainerUtil.java b/clients/command/src/main/java/org/eclipse/hono/client/command/CgroupV1KubernetesContainerUtil.java similarity index 99% rename from core/src/main/java/org/eclipse/hono/util/CgroupV1KubernetesContainerUtil.java rename to clients/command/src/main/java/org/eclipse/hono/client/command/CgroupV1KubernetesContainerUtil.java index c4da400f05..1fa9540018 100644 --- a/core/src/main/java/org/eclipse/hono/util/CgroupV1KubernetesContainerUtil.java +++ b/clients/command/src/main/java/org/eclipse/hono/client/command/CgroupV1KubernetesContainerUtil.java @@ -14,7 +14,7 @@ * See the license for the specific language governing permissions and * limitations under the license. */ -package org.eclipse.hono.util; +package org.eclipse.hono.client.command; import java.io.File; import java.io.IOException; diff --git a/clients/command/src/main/java/org/eclipse/hono/client/command/CommandRoutingUtil.java b/clients/command/src/main/java/org/eclipse/hono/client/command/CommandRoutingUtil.java index f75cbee051..eb2edb3725 100644 --- a/clients/command/src/main/java/org/eclipse/hono/client/command/CommandRoutingUtil.java +++ b/clients/command/src/main/java/org/eclipse/hono/client/command/CommandRoutingUtil.java @@ -19,7 +19,6 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.eclipse.hono.util.CgroupV1KubernetesContainerUtil; import org.eclipse.hono.util.Pair; import org.eclipse.hono.util.Strings; diff --git a/core/src/test/java/org/eclipse/hono/util/CgroupV1KubernetesContainerUtilTest.java b/clients/command/src/test/java/org/eclipse/hono/client/command/CgroupV1KubernetesContainerUtilTest.java similarity index 98% rename from core/src/test/java/org/eclipse/hono/util/CgroupV1KubernetesContainerUtilTest.java rename to clients/command/src/test/java/org/eclipse/hono/client/command/CgroupV1KubernetesContainerUtilTest.java index 5ae253c2d6..4e0b1c9c32 100644 --- a/core/src/test/java/org/eclipse/hono/util/CgroupV1KubernetesContainerUtilTest.java +++ b/clients/command/src/test/java/org/eclipse/hono/client/command/CgroupV1KubernetesContainerUtilTest.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 *******************************************************************************/ -package org.eclipse.hono.util; +package org.eclipse.hono.client.command; import static com.google.common.truth.Truth.assertThat;