int retriesAttempted = 0; while (true) { switch (getCurrentState()) { case SUCCESS: return true;
int retriesAttempted = 0; while (true) { switch (getCurrentState()) { case SUCCESS: return true;
int retriesAttempted = 0; while (true) { switch (getCurrentState()) { case SUCCESS: return true;