You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2019/05/21 20:10:36 UTC

[sling-org-apache-sling-caconfig-spi] branch master updated: cosmetic: remove obsolete @SuppressWarnings tags

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

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-caconfig-spi.git


The following commit(s) were added to refs/heads/master by this push:
     new a1777bb  cosmetic: remove obsolete @SuppressWarnings tags
a1777bb is described below

commit a1777bb106943a33cbea77bf722711cc057eab8d
Author: sseifert <ss...@pro-vision.de>
AuthorDate: Tue May 21 22:10:26 2019 +0200

    cosmetic: remove obsolete @SuppressWarnings tags
---
 .../java/org/apache/sling/caconfig/spi/metadata/AbstractMetadata.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/caconfig/spi/metadata/AbstractMetadata.java b/src/main/java/org/apache/sling/caconfig/spi/metadata/AbstractMetadata.java
index 42a85f8..7592d35 100644
--- a/src/main/java/org/apache/sling/caconfig/spi/metadata/AbstractMetadata.java
+++ b/src/main/java/org/apache/sling/caconfig/spi/metadata/AbstractMetadata.java
@@ -32,7 +32,7 @@ abstract class AbstractMetadata<T> {
     private String description;
     private Map<String,String> properties;
 
-    @SuppressWarnings({ "null", "unused" })
+    @SuppressWarnings("unused")
     public AbstractMetadata(@NotNull String name) {
         if (name == null) {
             throw new IllegalArgumentException("Invalid name: " + name);