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 2020/01/22 21:44:30 UTC

[sling-org-apache-sling-testing-sling-mock] branch master updated: cosmetic remove obsolete SuppressWarnings annotation

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-testing-sling-mock.git


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

commit 30fe2eedc5019ef06ec569909c14dd994afc50e0
Author: sseifert <ss...@pro-vision.de>
AuthorDate: Wed Jan 22 22:43:03 2020 +0100

    cosmetic remove obsolete SuppressWarnings annotation
---
 core/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java b/core/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java
index f042873..35489ab 100644
--- a/core/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java
+++ b/core/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java
@@ -81,7 +81,6 @@ public final class MockSling {
         return factory;
     }
 
-    @SuppressWarnings("null")
     private static ResourceResolverTypeAdapter getResourceResolverTypeAdapter(final ResourceResolverType type) {
         try {
             Class clazz = Class.forName(type.getResourceResolverTypeAdapterClass());