Logo
Explore Help
Register Sign In
azalea/kotlin-fork
1
0
Fork 0
You've already forked kotlin-fork
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
3,723 Commits 1 Branch 0 Tags
4ea99fc6ca6ebebb2c4e2c68a634fe8591b3647c
Commit Graph

4 Commits

Author SHA1 Message Date
James Strachan d604272744 zapped the redundant getOrElse method as the ?: does indeed work with lazy expressions (no function definition required) - thanks for spotting this Andrey! :) 2012-02-09 06:25:52 +00:00
James Strachan 659fceecbe removed unnecessary getOrElse(value) method as we can use ?: (which is neater!) though shame it doesn't work for lazy values, passing a function body which is invoked if the value is not null 2012-02-08 11:45:59 +00:00
James Strachan 04220935e0 enabled the test for T?.getOrElse and fixed up minor glitch in assertEquals 2012-02-08 07:57:18 +00:00
James Strachan 5057bf732e added a helper method for easily converting from a nullable type to a non nullable type with a non-lazy value, or lazy factory function 2012-02-08 07:57:18 +00:00
Powered by Gitea Version: 1.26.1 Page: 154ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API