()
| 3453 | } |
| 3454 | |
| 3455 | @SuppressWarnings("deprecation") |
| 3456 | public static boolean finish() { |
| 3457 | if (mBar != null && mEnabled) { |
| 3458 | if (mCount != mSize) ERR.println("ERROR: Progress Bar needed a forced Finish, because of too few Steps."); |
| 3459 | try { |
| 3460 | cpw.mods.fml.common.ProgressManager.pop((cpw.mods.fml.common.ProgressManager.ProgressBar)mBar); |
| 3461 | mBar = null; |
| 3462 | mSize = 0; |
| 3463 | mCount = 0; |
| 3464 | return T; |
| 3465 | } catch(NoClassDefFoundError e) { |
| 3466 | mEnabled = F; |
| 3467 | } catch(Throwable e) {e.printStackTrace(ERR);} |
| 3468 | mBar = null; |
| 3469 | mSize = 0; |
| 3470 | mCount = 0; |
| 3471 | return F; |
| 3472 | } |
| 3473 | return F; |
| 3474 | } |
| 3475 | } |
| 3476 | } |
no test coverage detected