Пример #1
0
 void submitIfReady() {
   if (isReady()) {
     doSubmit();
     submitted();
     completeSubmit();
   }
 }