mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics
This commit is contained in:
@@ -40,7 +40,7 @@ public class ProgressWrapper extends AbstractProgressIndicatorBase implements Wr
|
||||
}
|
||||
|
||||
protected ProgressWrapper(@NotNull ProgressIndicator original, boolean checkCanceledForMe) {
|
||||
assert original instanceof StandardProgressIndicator : "Original indicator must be StandardProcessIndicator: " + original;
|
||||
assert original instanceof StandardProgressIndicator : "Original indicator must be StandardProcessIndicator: " + original +" ("+original.getClass()+")";
|
||||
myOriginal = original;
|
||||
myCheckCanceledForMe = checkCanceledForMe;
|
||||
nested = 1 + (original instanceof ProgressWrapper ? ((ProgressWrapper)original).nested : -1);
|
||||
|
||||
Reference in New Issue
Block a user