From 9759551064d9f4e414be8aadb37c80815bba11cf Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Mon, 5 Oct 2020 17:08:02 -0700 Subject: [PATCH] Fixup some javadoc explaining problem type metadata generation --- .../ide/vscode/boot/test/ProblemTypesToJson.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/test/ProblemTypesToJson.java b/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/test/ProblemTypesToJson.java index 3a2949d53..d55a0bfc7 100644 --- a/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/test/ProblemTypesToJson.java +++ b/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/test/ProblemTypesToJson.java @@ -10,11 +10,9 @@ *******************************************************************************/ package org.springframework.ide.vscode.boot.test; -import static org.hamcrest.Matchers.startsWith; import static org.junit.Assert.assertEquals; import java.io.File; -import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; @@ -35,22 +33,25 @@ import org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemTy import org.springframework.ide.vscode.commons.yaml.path.YamlPath; import org.springframework.ide.vscode.commons.yaml.util.JSONCursor; -import com.google.common.collect.ImmutableList; import com.google.common.reflect.TypeToken; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonArray; import com.google.gson.JsonElement; -import com.google.gson.JsonIOException; import com.google.gson.JsonObject; -import com.google.gson.JsonSyntaxException; /** * Helper that dumps out ProblemTypes to a json file. This file can - * be used (how?) to drive problem severity configuration ui. + * be used to drive problem severity configuration ui. See + * org.springframework.ide.eclipse.editor.support.preferences.ProblemSeverityPreferityPageFromMetadata *

* Run this from Eclipse simply by selecting this file and do - * "Run As >> Java Application" + * "Run As >> Java Application". This does two things: + *

*/ public class ProblemTypesToJson {