mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 03:52:05 +00:00
Avoid deprecated findbugs annotations (#2144)
* Avoid deprecated findbugs annotations * One more forgotten annotation
This commit is contained in:
1 parent
b2627ed312
commit
7f6f495f86
18 files changed
+27
-37
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user