question: public LogFileParser . LogEntry poll ( ) { LogFileParser . LogEntry returnValue = null ; if ( this . nextEntry != null ) { returnValue = this . nextEntry ; nextEntry = null ; } else { while ( returnValue == null ) { try { returnValue = parser . getNextEntry ( ) ; if ( ! returnValue . isLast ( ) && ! patternMatch ( returnValue ) ) { returnValue = null ; continue ; } } catch ( IOException ioe ) { ioe . printStackTrace ( System . err ) ; break ; } } } return returnValue ; }
target:  Removes the old log entry read from the log file