Cleanup
authorYaroslav Lepenkin <yaroslav.lepenkin@jetbrains.com>
Tue, 19 Apr 2016 10:46:58 +0000 (13:46 +0300)
committerYaroslav Lepenkin <yaroslav.lepenkin@jetbrains.com>
Tue, 19 Apr 2016 10:46:58 +0000 (13:46 +0300)
platform/lang-impl/src/com/intellij/formatting/FormatProcessor.java

index 8ba0ce9305db9235fa992f7e54f01f0517778a98..caf00cbf450eeab75568c73e1107b51fb9fbbecd 100644 (file)
@@ -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));