mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
a comprehensible message when FileStatusMap.assertAllowModifications fails
This commit is contained in:
@@ -176,7 +176,7 @@ public class FileStatusMap implements Disposable {
|
||||
|
||||
private void assertAllowModifications() {
|
||||
try {
|
||||
assert myAllowDirt;
|
||||
assert myAllowDirt : "PSI/document/model changes are not allowed during highlighting";
|
||||
}
|
||||
finally {
|
||||
myAllowDirt = true; //give next test a chance
|
||||
|
||||
Reference in New Issue
Block a user