Undeprecated a method in Editor test harness

I think its fine to just keep using the
'newEditor' method without an explicit
language id. So let's get rid of all
the deprecation warnings associated
with it.
This commit is contained in:
Kris De Volder
2018-06-18 10:52:10 -07:00
parent a1f3da0611
commit cc80abb586

View File

@@ -553,9 +553,8 @@ public class LanguageServerHarness<S extends SimpleLanguageServerWrapper> {
}
/**
* @deprecated use {@link #newEditor(LanguageId, String)}
* Create editor with 'default' language id.
*/
@Deprecated
public Editor newEditor(String contents) throws Exception {
return newEditor(getDefaultLanguageId(), contents);
}