mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-9795 Remove redundant DocStringUpdater#scheduleUpdates
This commit is contained in:
@@ -64,11 +64,8 @@ public abstract class DocStringUpdater<T extends DocStringLineParser> {
|
||||
insert(line.getStartOffset(), text + '\n');
|
||||
}
|
||||
|
||||
protected abstract void scheduleUpdates();
|
||||
|
||||
@NotNull
|
||||
public final String getDocStringText() {
|
||||
scheduleUpdates();
|
||||
// Move closing quotes to the next line, if new lines are going to be inserted
|
||||
if (myOriginalDocString.getLineCount() == 1 && !myUpdates.isEmpty()) {
|
||||
insertAfterLine(0, myMinContentIndent);
|
||||
|
||||
-4
@@ -122,10 +122,6 @@ public abstract class SectionBasedDocStringUpdater extends DocStringUpdater<Sect
|
||||
return getSectionStartLine(paramSection);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void scheduleUpdates() {
|
||||
}
|
||||
|
||||
protected abstract SectionBasedDocStringBuilder createBuilder();
|
||||
|
||||
protected String createParamLine(@NotNull String name,
|
||||
|
||||
@@ -37,10 +37,6 @@ public class TagBasedDocStringUpdater<T extends TagBasedDocString> extends DocSt
|
||||
return new TagBasedDocStringBuilder(myTagPrefix);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void scheduleUpdates() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void addParameter(@NotNull String name, @Nullable String type) {
|
||||
if (type != null) {
|
||||
|
||||
Reference in New Issue
Block a user