Skip to content

Commit abf887d

Browse files
committed
Spotbugs fixup.
1 parent 6858c18 commit abf887d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/main/java/com/diffplug/spotless/npm/ShadowCopy.java

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737

3838
import com.diffplug.spotless.ThrowingEx;
3939

40+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
41+
4042
class ShadowCopy {
4143

4244
private static final Logger logger = LoggerFactory.getLogger(ShadowCopy.class);
@@ -69,6 +71,7 @@ public void addEntry(String key, File orig) {
6971
}
7072
}
7173

74+
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
7275
private void storeEntry(String key, File orig, File target) throws IOException {
7376
// Create a temp directory in the same directory as target
7477
Files.createDirectories(target.toPath().getParent());

0 commit comments

Comments
 (0)