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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user