Cleanups: debug output
This commit is contained in:
@@ -142,7 +142,7 @@ public abstract class SimpleLanguageServer implements LanguageServer, LanguageCl
|
||||
Log.debug("Initializing: "+params);
|
||||
String rootPath = params.getRootPath();
|
||||
if (rootPath==null) {
|
||||
Log.warn("workspaceRoot NOT SET");
|
||||
Log.debug("workspaceRoot NOT SET");
|
||||
} else {
|
||||
this.workspaceRoot= Paths.get(rootPath).toAbsolutePath().normalize();
|
||||
}
|
||||
|
||||
@@ -83,7 +83,6 @@ public class YamlCompletionEngine implements ICompletionEngine {
|
||||
if (!completions.isEmpty()) {
|
||||
List<ICompletionProposal> transformed = new ArrayList<>();
|
||||
for (ICompletionProposal p : completions) {
|
||||
System.out.println(p.getLabel());
|
||||
transformed.add(indented(p));
|
||||
}
|
||||
return transformed;
|
||||
|
||||
@@ -1827,7 +1827,6 @@ public class ConcourseEditorTest {
|
||||
" password: his-password\n" +
|
||||
" retry_delay: retry-after\n"
|
||||
);
|
||||
System.out.println(editor.getRawText());
|
||||
editor.assertProblems(
|
||||
"retry-after|'Duration'"
|
||||
);
|
||||
@@ -3103,7 +3102,6 @@ public class ConcourseEditorTest {
|
||||
" type: \n" +
|
||||
" <*>"
|
||||
);
|
||||
System.out.println(editor.getText());
|
||||
editor.assertCompletionWithLabel((l) -> l.startsWith("pool"),
|
||||
"resources:\n" +
|
||||
"- name: source-repo\n" +
|
||||
|
||||
Reference in New Issue
Block a user