From: Simon Brandhof Date: Mon, 27 Nov 2017 15:16:41 +0000 (+0100) Subject: Fix Quality flaws in MediaTypes X-Git-Tag: 7.0-RC1~252 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e1fe74d090fe8d2c1adb33cebb13122710639b7;p=sonarqube.git Fix Quality flaws in MediaTypes --- 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")