This commit is contained in:
Yaroslav Lepenkin
2016-04-19 13:46:58 +03:00
parent c666cc44ea
commit fb6455604b
@@ -38,8 +38,6 @@ public class FormatProcessor {
@NotNull
private final FormattingProgressCallback myProgressCallback;
private boolean myDisposed;
@NotNull
private StateProcessor myStateProcessor;
@@ -112,7 +110,6 @@ public class FormatProcessor {
formatWithoutRealModifications(false);
}
@SuppressWarnings({"WhileLoopSpinsOnField"})
public void formatWithoutRealModifications(boolean sequentially) {
myStateProcessor.setNextState(new AdjustWhiteSpacesState(myWrapState, myProgressCallback, myReformatContext));
myStateProcessor.setNextState(new ExpandChildrenIndentState(myDocument, myWrapState));