sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [sling-org-apache-sling-clam] branch master updated: suppress warnings for rule java:S3077
Date Tue, 01 Sep 2020 17:39:55 GMT
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-clam.git


The following commit(s) were added to refs/heads/master by this push:
     new c67aec1  suppress warnings for rule java:S3077
c67aec1 is described below

commit c67aec108ef87741c7e18122b3055021efa573c3
Author: Oliver Lietz <olli@apache.org>
AuthorDate: Tue Sep 1 19:39:36 2020 +0200

    suppress warnings for rule java:S3077
---
 .../java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java    | 2 +-
 .../sling/clam/jcr/internal/DefaultNodeDescendingJcrPropertyDigger.java | 1 +
 .../org/apache/sling/clam/job/internal/JcrPropertyScanJobConsumer.java  | 1 +
 .../apache/sling/clam/oak/internal/NodeObservingJcrPropertyDigger.java  | 1 +
 .../sling/clam/result/internal/EventPublishingScanResultHandler.java    | 1 +
 .../apache/sling/clam/result/internal/MailSendingScanResultHandler.java | 1 +
 .../sling/clam/result/internal/ResourcePersistingScanResultHandler.java | 1 +
 7 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java b/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java
index 660b0ba..8f50454 100644
--- a/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java
+++ b/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java
@@ -66,7 +66,7 @@ import static org.apache.sling.clam.internal.ClamUtil.propertyTypesFromNames;
 @Designate(
     ocd = ClamJcrScanServletConfiguration.class
 )
-@SuppressWarnings("java:S1948")
+@SuppressWarnings({"java:S1948", "java:S3077"})
 public class ClamJcrScanServlet extends SlingAllMethodsServlet {
 
     @Reference(
diff --git a/src/main/java/org/apache/sling/clam/jcr/internal/DefaultNodeDescendingJcrPropertyDigger.java
b/src/main/java/org/apache/sling/clam/jcr/internal/DefaultNodeDescendingJcrPropertyDigger.java
index ec64fff..4f60e66 100644
--- a/src/main/java/org/apache/sling/clam/jcr/internal/DefaultNodeDescendingJcrPropertyDigger.java
+++ b/src/main/java/org/apache/sling/clam/jcr/internal/DefaultNodeDescendingJcrPropertyDigger.java
@@ -48,6 +48,7 @@ import static org.apache.sling.clam.internal.ClamUtil.scanJobTopic;
         Constants.SERVICE_VENDOR + "=The Apache Software Foundation"
     }
 )
+@SuppressWarnings("java:S3077")
 public class DefaultNodeDescendingJcrPropertyDigger implements NodeDescendingJcrPropertyDigger
{
 
     @Reference(
diff --git a/src/main/java/org/apache/sling/clam/job/internal/JcrPropertyScanJobConsumer.java
b/src/main/java/org/apache/sling/clam/job/internal/JcrPropertyScanJobConsumer.java
index af49735..4a2725f 100644
--- a/src/main/java/org/apache/sling/clam/job/internal/JcrPropertyScanJobConsumer.java
+++ b/src/main/java/org/apache/sling/clam/job/internal/JcrPropertyScanJobConsumer.java
@@ -54,6 +54,7 @@ import org.slf4j.LoggerFactory;
         Constants.SERVICE_VENDOR + "=The Apache Software Foundation"
     }
 )
+@SuppressWarnings("java:S3077")
 public class JcrPropertyScanJobConsumer implements JobConsumer {
 
     @Reference(
diff --git a/src/main/java/org/apache/sling/clam/oak/internal/NodeObservingJcrPropertyDigger.java
b/src/main/java/org/apache/sling/clam/oak/internal/NodeObservingJcrPropertyDigger.java
index 8060828..ebb64cc 100644
--- a/src/main/java/org/apache/sling/clam/oak/internal/NodeObservingJcrPropertyDigger.java
+++ b/src/main/java/org/apache/sling/clam/oak/internal/NodeObservingJcrPropertyDigger.java
@@ -65,6 +65,7 @@ import static org.apache.sling.clam.internal.ClamUtil.scanJobTopic;
     ocd = NodeObservingJcrPropertyDiggerConfiguration.class,
     factory = true
 )
+@SuppressWarnings("java:S3077")
 public class NodeObservingJcrPropertyDigger extends NodeObserver {
 
     @Reference(
diff --git a/src/main/java/org/apache/sling/clam/result/internal/EventPublishingScanResultHandler.java
b/src/main/java/org/apache/sling/clam/result/internal/EventPublishingScanResultHandler.java
index e2c784a..eb173e1 100644
--- a/src/main/java/org/apache/sling/clam/result/internal/EventPublishingScanResultHandler.java
+++ b/src/main/java/org/apache/sling/clam/result/internal/EventPublishingScanResultHandler.java
@@ -50,6 +50,7 @@ import static org.apache.sling.clam.internal.ClamUtil.resultEventTopic;
 @Designate(
     ocd = EventPublishingScanResultHandlerConfiguration.class
 )
+@SuppressWarnings("java:S3077")
 public class EventPublishingScanResultHandler implements JcrPropertyScanResultHandler {
 
     @Reference(
diff --git a/src/main/java/org/apache/sling/clam/result/internal/MailSendingScanResultHandler.java
b/src/main/java/org/apache/sling/clam/result/internal/MailSendingScanResultHandler.java
index e9070cb..f0b2eda 100644
--- a/src/main/java/org/apache/sling/clam/result/internal/MailSendingScanResultHandler.java
+++ b/src/main/java/org/apache/sling/clam/result/internal/MailSendingScanResultHandler.java
@@ -64,6 +64,7 @@ import static org.apache.sling.clam.internal.ClamUtil.properties;
     ocd = MailSendingScanResultHandlerConfiguration.class,
     factory = true
 )
+@SuppressWarnings("java:S3077")
 public class MailSendingScanResultHandler implements JcrPropertyScanResultHandler {
 
     @Reference(
diff --git a/src/main/java/org/apache/sling/clam/result/internal/ResourcePersistingScanResultHandler.java
b/src/main/java/org/apache/sling/clam/result/internal/ResourcePersistingScanResultHandler.java
index 30e2db0..fc9a9f4 100644
--- a/src/main/java/org/apache/sling/clam/result/internal/ResourcePersistingScanResultHandler.java
+++ b/src/main/java/org/apache/sling/clam/result/internal/ResourcePersistingScanResultHandler.java
@@ -67,6 +67,7 @@ import static org.apache.sling.clam.internal.ClamUtil.properties;
     ocd = ResourcePersistingScanResultHandlerConfiguration.class,
     factory = true
 )
+@SuppressWarnings("java:S3077")
 public class ResourcePersistingScanResultHandler implements JcrPropertyScanResultHandler
{
 
     @Reference(


Mime
View raw message