diff --git a/pom.xml b/pom.xml index 2784582c..d0f8495f 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,7 @@ ${project.groupId}.codingstyle - 4.7.3 + 4.8.1 3.13.0 2.11.0 1.3.2 diff --git a/src/main/java/edu/hm/hafner/util/ResourceExtractor.java b/src/main/java/edu/hm/hafner/util/ResourceExtractor.java index 197a0596..f949aa78 100644 --- a/src/main/java/edu/hm/hafner/util/ResourceExtractor.java +++ b/src/main/java/edu/hm/hafner/util/ResourceExtractor.java @@ -22,6 +22,8 @@ import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + /** * A proxy for resources. Extracts a given collection of files from the classpath and copies them to a target path. * @@ -42,7 +44,7 @@ public ResourceExtractor(final Class targetClass) { this(targetClass, targetClass.getProtectionDomain()); } - @VisibleForTesting + @VisibleForTesting @SuppressFBWarnings("CT_CONSTRUCTOR_THROW") ResourceExtractor(final Class targetClass, final ProtectionDomain protectionDomain) { CodeSource codeSource = protectionDomain.getCodeSource(); if (codeSource == null) {