/*
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

package com.mpalourdio.springboottemplate.mediatype;

import java.nio.charset.StandardCharsets;

public final class MediaType extends org.springframework.http.MediaType {

    public static final org.springframework.http.MediaType APPLICATION_VND_API_V1;
    public static final String APPLICATION_VND_API_V1_VALUE = "application/vnd.api.v1+json;charset=UTF-8";

    public static final org.springframework.http.MediaType APPLICATION_VND_API_V2;
    public static final String APPLICATION_VND_API_V2_VALUE = "application/vnd.api.v2+json;charset=UTF-8";

    private MediaType(String type) {
        super(type);
    }

    static {
        APPLICATION_VND_API_V1 = new org.springframework.http.MediaType("application", "vnd.api.v1+json", StandardCharsets.UTF_8);
        APPLICATION_VND_API_V2 = new org.springframework.http.MediaType("application", "vnd.api.v2+json", StandardCharsets.UTF_8);
    }
}

@@ -1112,16 +1112,64 @@
 tatic %7B%0A
+        String applicationType = %22application%22;%0A
         
@@ -1224,33 +1224,32 @@
 .http.MediaType(
-%22
 application%22, %22v
@@ -1235,33 +1235,36 @@
 Type(application
-%22
+Type
 , %22vnd.api.v1+js
@@ -1365,17 +1365,16 @@
 diaType(
-%22
 applicat
@@ -1376,17 +1376,20 @@
 lication
-%22
+Type
 , %22vnd.a

Fix checkstyle