JetBrains/kotlin — pull request #325 by chashnikov (2013-12-02 19:43:56+00:00)
Title: standard library: 'max' and 'min' functions reimplemented to avoid unnecessary null checks

(as proposed for minBy/maxBy in https://github.com/JetBrains/kotlin/pull/324)