Cleanups: debug output

This commit is contained in:
Kris De Volder
2017-04-24 09:48:56 -07:00
parent 9862f49a7f
commit e493724543
3 changed files with 1 additions and 4 deletions

View File

@@ -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();
}

View File

@@ -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;

View File

@@ -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" +