File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/main/java/org/dependencytrack/servlets Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2424 <parent >
2525 <groupId >us.springett</groupId >
2626 <artifactId >alpine-parent</artifactId >
27- <version >3.5.1 </version >
27+ <version >3.6.0 </version >
2828 </parent >
2929
3030 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 2020
2121import alpine .common .logging .Logger ;
2222import alpine .server .servlets .FileSystemResourceServlet ;
23- import org .dependencytrack .tasks .NistMirrorTask ;
24-
2523import jakarta .servlet .ServletConfig ;
2624import jakarta .servlet .ServletException ;
25+ import org .dependencytrack .tasks .NistMirrorTask ;
2726
2827public class NvdMirrorServlet extends FileSystemResourceServlet {
2928
@@ -36,8 +35,7 @@ public class NvdMirrorServlet extends FileSystemResourceServlet {
3635 public void init (final ServletConfig config ) throws ServletException {
3736 LOGGER .info ("Initializing NVD mirror" );
3837 super .init (config );
39- super .setDirectory (NistMirrorTask .DEFAULT_NVD_MIRROR_DIR .toString ());
40- super .setAbsolute (true );
38+ super .setDirectoryPath (NistMirrorTask .DEFAULT_NVD_MIRROR_DIR );
4139 }
4240
4341}
You can’t perform that action at this time.
0 commit comments