From 194c727743e2cfd03b8200bc378f973116b2495b Mon Sep 17 00:00:00 2001 From: Dustin Jenkins Date: Thu, 19 Sep 2024 07:32:27 -0700 Subject: [PATCH] fix: Hush the linter --- .../src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java b/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java index 1ad995c..0bc8eb5 100644 --- a/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java +++ b/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java @@ -28,6 +28,7 @@ public class PackageServlet extends HttpServlet { private static final Map METHOD_TO_CONTENT_TYPE_MAP = new HashMap<>(); private final ApplicationConfiguration configuration = new ApplicationConfiguration(DispatcherServlet.DEFAULT_CONFIG_FILE_PATH); + static { PackageServlet.METHOD_TO_CONTENT_TYPE_MAP.put(DispatcherServlet.TAR_PACKAGE, "application/x-tar"); PackageServlet.METHOD_TO_CONTENT_TYPE_MAP.put(DispatcherServlet.ZIP_PACKAGE, "application/zip");