From d235c5686c250b80d2f0a3a2657a83f14ba0724d Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Thu, 7 Feb 2019 09:31:57 -0800 Subject: [PATCH] Fix compilation error --- .../boot/yaml/reconcile/ApplicationYamlASTReconciler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/yaml/reconcile/ApplicationYamlASTReconciler.java b/headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/yaml/reconcile/ApplicationYamlASTReconciler.java index a9ddfe714..7d58105d9 100644 --- a/headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/yaml/reconcile/ApplicationYamlASTReconciler.java +++ b/headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/yaml/reconcile/ApplicationYamlASTReconciler.java @@ -404,7 +404,7 @@ public class ApplicationYamlASTReconciler implements YamlASTReconciler { protected SpringPropertyProblem deprecatedPropertyProblem(String docUri, String name, String contextType, Node keyNode, String replace, String reason, Level level, QuickfixType fixType) { - ApplicationYamlProblemType problemType = level==Level.ERROR ? YAML_DEPRECATED_ERROR : YAML_DEPRECATED_WARNING; + ApplicationYamlProblemType problemType = level==Level.error ? YAML_DEPRECATED_ERROR : YAML_DEPRECATED_WARNING; SpringPropertyProblem problem = problem(problemType, keyNode, TypeUtil.deprecatedPropertyMessage(name, contextType, replace, reason)); problem.setPropertyName(name); Range range = new Range(new Position(keyNode.getStartMark().getLine(), keyNode.getStartMark().getColumn()),