https://github.com/spotbugs/spotbugs/issues/600 is still present,
biting us.
Change-Id: If9bcd5540c5c0d1427a9e69fde87a674d771c182
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
@Override
+ @SuppressFBWarnings(value = "RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE",
+ justification = "https://github.com/spotbugs/spotbugs/issues/600")
protected void storeAsType(final File file, final YangTextSchemaSource cast) {
try (InputStream castStream = cast.openStream()) {
Files.copy(castStream, file.toPath(), StandardCopyOption.REPLACE_EXISTING);