We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6858c18 commit abf887dCopy full SHA for abf887d
lib/src/main/java/com/diffplug/spotless/npm/ShadowCopy.java
@@ -37,6 +37,8 @@
37
38
import com.diffplug.spotless.ThrowingEx;
39
40
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
41
+
42
class ShadowCopy {
43
44
private static final Logger logger = LoggerFactory.getLogger(ShadowCopy.class);
@@ -69,6 +71,7 @@ public void addEntry(String key, File orig) {
69
71
}
70
72
73
74
+ @SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
75
private void storeEntry(String key, File orig, File target) throws IOException {
76
// Create a temp directory in the same directory as target
77
Files.createDirectories(target.toPath().getParent());
0 commit comments