(Object aStepName)
| 3436 | } |
| 3437 | |
| 3438 | public static boolean step(Object aStepName) { |
| 3439 | if (mBar != null && mEnabled) { |
| 3440 | if (mCount++ < mSize) { |
| 3441 | try { |
| 3442 | mMessage.set(mBar, aStepName == null ? "Error: NULL" : aStepName.toString()); |
| 3443 | mStep.setInt(mBar, mCount); |
| 3444 | return T; |
| 3445 | } catch(Throwable e) {e.printStackTrace(ERR);} |
| 3446 | return F; |
| 3447 | } |
| 3448 | ERR.println("ERROR: Progress Bar needed a forced Finish, because of too many Steps."); |
| 3449 | finish(); |
| 3450 | return F; |
| 3451 | } |
| 3452 | return F; |
| 3453 | } |
| 3454 | |
| 3455 | @SuppressWarnings("deprecation") |
| 3456 | public static boolean finish() { |
no test coverage detected