From 6e1fe74d090fe8d2c1adb33cebb13122710639b7 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 27 Nov 2017 16:16:41 +0100 Subject: [PATCH] Fix Quality flaws in MediaTypes --- sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java b/sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java index 08783ca593e..66af8ae10c1 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java @@ -42,7 +42,7 @@ public final class MediaTypes { private static final Map MAP = new ImmutableMap.Builder() .put("js", JAVASCRIPT) .put("json", JSON) - .put("zip", "application/zip") + .put("zip", ZIP) .put("tgz", "application/tgz") .put("ps", "application/postscript") .put("jnlp", "application/jnlp") @@ -63,7 +63,7 @@ public final class MediaTypes { .put("ico", "image/x-icon") .put("txt", TXT) .put("csv", "text/csv") - .put("properties", "text/plain") + .put("properties", TXT) .put("rtf", "text/rtf") .put("html", HTML) .put("css", "text/css") -- 2.39.5