You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2022/07/17 16:56:56 UTC

[sling-org-apache-sling-installer-hc] 01/02: suppress warnings for rule java:S100

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

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-hc.git

commit 60dfeea9db8dd6672a2bb4e98c9c0845c75a7d82
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Jul 17 18:43:16 2022 +0200

    suppress warnings for rule java:S100
---
 .../java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java b/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
index 59bdbe7..22b5d67 100644
--- a/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
+++ b/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
@@ -66,6 +66,7 @@ public class OsgiInstallerHealthCheck implements HealthCheck {
             description="Checks that all OSGi configurations/bundles are successfully installed by the OSGi Installer (and are not skipped for some reason).")
     protected static @interface Configuration {
         @AttributeDefinition(name="Tags", description="Tags with which this healthcheck is associated")
+        @SuppressWarnings("java:S100")
         String[] hc_tags() default {"installer", "osgi"};
         
         @AttributeDefinition(name="URL Prefixes to consider", description = "Only those OSGi configurations/bundles whose location are starting with one of the given URL prefixes are checked (whether they are installed correctly). Open /system/console/osgi-installer for a list of valid prefixes.")