mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
cleanup: replace unnamed RuntimeException with dedicated ConflictException
This commit is contained in:
@@ -125,7 +125,7 @@ public class ExtractClassTest extends MultiFileTestCase{
|
||||
LocalFileSystem.getInstance().refresh(false);
|
||||
FileDocumentManager.getInstance().saveAllDocuments();
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (BaseRefactoringProcessor.ConflictsInTestsException e) {
|
||||
if (conflicts != null) {
|
||||
Assert.assertEquals(e.getMessage(), conflicts);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user