package com.formulasearchengine.mathmltools.converters.mathoid;

import com.google.common.net.MediaType;

/**
 * @author Andre Greiner-Petter
 */
public enum MathoidEndpoints {
    SVG_ENDPOINT("svg", MediaType.SVG_UTF_8),
    PNG_ENDPOINT("png", MediaType.PNG),
    MML_ENDPOINT("mml", MediaType.create("application", "mathml+xml")),
    INFO_ENDPOINT("texvcinfo", MediaType.JSON_UTF_8);

    private final String endpoint;
    private final MediaType responseMediaType;

    MathoidEndpoints(String endpoint, MediaType responseMediaType) {
        this.endpoint = endpoint;
        this.responseMediaType = responseMediaType;
    }

    public String getEndpoint(String host) {
        return host + "/" + endpoint;
    }

    public MediaType getResponseMediaType() {
        return responseMediaType;
    }

    public static void main(String[] args){
        System.out.println(MML_ENDPOINT.getResponseMediaType().toString());
    }
}

@@ -620,32 +620,160 @@
 diaType;%0A    %7D%0A%0A
+    public static void main(String%5B%5D args) %7B%0A        System.out.println(MML_ENDPOINT.getResponseMediaType().toString());%0A    %7D%0A%0A
     public Strin
@@ -935,134 +935,7 @@
    %7D
-%0A%0A    public static void main(String%5B%5D args)%7B%0A        System.out.println(MML_ENDPOINT.getResponseMediaType().toString());%0A    %7D
 %0A%7D%0A

Fix checkstyle error