Cleanup: apply "lift out..." inspection (+ some others)

This commit is contained in:
Mikhail Glukhikh
2017-06-28 14:30:52 +03:00
committed by Mikhail Glukhikh
parent 0c41ceea9d
commit 9c06739594
52 changed files with 294 additions and 311 deletions
@@ -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
}
}