Cleanup: apply "lift out..." inspection (+ some others)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0c41ceea9d
commit
9c06739594
@@ -38,11 +38,11 @@ class CommandHistory {
|
||||
}
|
||||
|
||||
fun lastUnprocessedEntry(): CommandHistory.Entry? {
|
||||
if (processedEntriesCount < size) {
|
||||
return get(processedEntriesCount)
|
||||
return if (processedEntriesCount < size) {
|
||||
get(processedEntriesCount)
|
||||
}
|
||||
else {
|
||||
return null
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user