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

zehnder pushed a commit to branch hotfix-remove-asset-util
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 5354c0541f85f42376fe0af0cbcd64a3fe0b4003
Author: Philipp Zehnder <[email protected]>
AuthorDate: Sat Dec 28 08:44:10 2024 +0100

    refactor: Remove unused classes AssetsUtil and LocalesUtil
---
 .../extensions/management/util/AssetsUtil.java     | 36 ----------------------
 .../extensions/management/util/LocalesUtil.java    | 29 -----------------
 2 files changed, 65 deletions(-)

diff --git 
a/streampipes-extensions-management/src/main/java/org/apache/streampipes/extensions/management/util/AssetsUtil.java
 
b/streampipes-extensions-management/src/main/java/org/apache/streampipes/extensions/management/util/AssetsUtil.java
deleted file mode 100644
index 8414c1084e..0000000000
--- 
a/streampipes-extensions-management/src/main/java/org/apache/streampipes/extensions/management/util/AssetsUtil.java
+++ /dev/null
@@ -1,36 +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.extensions.management.util;
-
-import org.apache.streampipes.commons.constants.GlobalStreamPipesConstants;
-
-public class AssetsUtil {
-
-  public static String makeIconPath(String elementId) {
-    return makePath(elementId, GlobalStreamPipesConstants.STD_ICON_NAME);
-  }
-
-  public static String makeDocumentationPath(String elementId) {
-    return makePath(elementId, 
GlobalStreamPipesConstants.STD_DOCUMENTATION_NAME);
-  }
-
-  public static String makePath(String elementId, String assetAppendix) {
-    return elementId + "/" + assetAppendix;
-  }
-}
diff --git 
a/streampipes-extensions-management/src/main/java/org/apache/streampipes/extensions/management/util/LocalesUtil.java
 
b/streampipes-extensions-management/src/main/java/org/apache/streampipes/extensions/management/util/LocalesUtil.java
deleted file mode 100644
index 1e5e222129..0000000000
--- 
a/streampipes-extensions-management/src/main/java/org/apache/streampipes/extensions/management/util/LocalesUtil.java
+++ /dev/null
@@ -1,29 +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.extensions.management.util;
-
-import org.apache.streampipes.model.base.NamedStreamPipesEntity;
-
-public class LocalesUtil {
-
-  public static String makePath(NamedStreamPipesEntity desc, String 
assetAppendix) {
-    return desc.getAppId()
-        + "/"
-        + assetAppendix;
-  }
-}

Reply via email to