/** * Executes the task. */ @Override public void run() { if (this.infinite || (this.numberImpulses > 0)) { TimeReader.this.sendTimestampEvent(); if (!this.infinite && (0 == --this.numberImpulses)) { // NOPMD TimeReader.this.impulseEmitLatch.countDown(); } } } }
/** * Executes the task. */ @Override public void run() { if (this.infinite || (this.numberImpulses > 0)) { TimeReader.this.sendTimestampEvent(); if (!this.infinite && (0 == --this.numberImpulses)) { // NOPMD TimeReader.this.impulseEmitLatch.countDown(); } } } }