aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2022-03-04 14:25:57 +0100
committersonartech <sonartech@sonarsource.com>2022-03-09 20:02:59 +0000
commit07bfdaa5256a44787aa15cf16155eaceaec9a452 (patch)
treefb4af39d93b44a610d50456597e3121911d03eda /sonar-ws/src
parentcc3c0c7119ed51be19435872903f5090b092d415 (diff)
downloadsonarqube-07bfdaa5256a44787aa15cf16155eaceaec9a452.tar.gz
sonarqube-07bfdaa5256a44787aa15cf16155eaceaec9a452.zip
SONAR-16013 export database results to CSV
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java2
1 files changed, 1 insertions, 1 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 284559d932a..8e2f39cdb9b 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/MediaTypes.java
@@ -29,6 +29,7 @@ import static org.sonarqube.ws.WsUtils.isNullOrEmpty;
* @since 5.3
*/
public final class MediaTypes {
+ public static final String CSV = "text/csv";
public static final String DEFAULT = "application/octet-stream";
public static final String HTML = "text/html";
public static final String JAVASCRIPT = "application/javascript";
@@ -40,7 +41,6 @@ public final class MediaTypes {
public static final String ZIP = "application/zip";
private static final String BMP = "image/bmp";
private static final String CSS = "text/css";
- private static final String CSV = "text/csv";
private static final String DTD = "application/xml-dtd";
private static final String GIF = "image/gif";
private static final String ICO = "image/x-icon";