Nit: 
```
val largestCleanTimestamp = log.logSegments(-1, 
firstDirtyOffset).lastOption.map(_.largestTimestamp).getOrElse(0L) 
```
one line can do this, but I guess pattern matching is preferable in some cases 
:) 

[ Full content available at: https://github.com/apache/kafka/pull/5611 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to