File tree Expand file tree Collapse file tree
src/main/java/org/fedoraproject/javapackages/validator/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
184184 <plugin >
185185 <groupId >com.github.spotbugs</groupId >
186186 <artifactId >spotbugs-maven-plugin</artifactId >
187- <version >4.9.4.2 </version >
187+ <version >4.9.6.0 </version >
188188 <executions >
189189 <execution >
190190 <id >check</id >
Original file line number Diff line number Diff line change 99import org .apache .commons .compress .archivers .cpio .CpioArchiveEntry ;
1010import org .apache .commons .io .IOUtils ;
1111
12+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
1213import io .kojan .javadeptools .rpm .RpmArchiveInputStream ;
1314import io .kojan .javadeptools .rpm .RpmInfo ;
1415import io .kojan .javadeptools .rpm .RpmPackage ;
@@ -21,6 +22,7 @@ public class Common {
2122 ///
2223 /// @param entry The CPIO archive entry to resolve.
2324 /// @return The resolved file system path of the entry.
25+ @ SuppressFBWarnings (value = {"DMI_HARDCODED_ABSOLUTE_FILENAME" })
2426 public static Path getEntryPath (CpioArchiveEntry entry ) {
2527 return Path .of ("/" ).resolve (Path .of ("/" ).relativize (Path .of ("/" ).resolve (Path .of (entry .getName ()))));
2628 }
You can’t perform that action at this time.
0 commit comments