Avoid deprecated findbugs annotations (#2144)

* Avoid deprecated findbugs annotations

* One more forgotten annotation
This commit is contained in:
Oliver Gondža authored and Oleg Nenashev committed 2016-10-15 12:53:56 -07:00
1 parent b2627ed312
commit 7f6f495f86
18 files changed
+27 -37

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@ import jenkins.util.SystemProperties;
import com.sun.jna.Native;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import edu.umd.cs.findbugs.annotations.SuppressWarnings;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.Proc.LocalProc;
import hudson.model.TaskListener;
import hudson.os.PosixAPI;
@@ -527,7 +527,7 @@ public class Util {
return !fileInCanonicalParent.getCanonicalFile().equals( fileInCanonicalParent.getAbsoluteFile() );
}
@SuppressWarnings("NP_BOOLEAN_RETURN_NULL")
@SuppressFBWarnings("NP_BOOLEAN_RETURN_NULL")
private static Boolean isSymlinkJava7(@Nonnull File file) throws IOException {
try {
Path path = file.toPath();