Corrected signatures, pass indicator as constructor parameter

This commit is contained in:
Yaroslav Lepenkin
2016-05-30 21:08:37 +03:00
parent 92d635790c
commit c648f5a53d
7 changed files with 30 additions and 17 deletions
@@ -63,7 +63,7 @@ public abstract class AbstractNewLineBlocksIteratorTest extends LightPlatformCod
Document document = PsiDocumentManager.getInstance(getProject()).getDocument(myFile);
Assert.assertNotNull(document);
return new NewLineBlocksIterator(root, document, null);
return new NewLineBlocksIterator(root, document);
}
}
@@ -78,6 +78,6 @@ public class NewLineBlocksIteratorTest extends AbstractNewLineBlocksIteratorTest
TestFormattingModel model = new TestFormattingModel(text);
Document document = model.getDocument();
TestBlock block = new FormattingModelXmlReader(model).readTestBlock(getTestDataPath(), getFileName() + ".xml");
return new NewLineBlocksIterator(block, document, null);
return new NewLineBlocksIterator(block, document);
}
}