Implement property uses throw UnsupportedOperationException() instead of default value or ?

This commit is contained in:
Valentin Kipyatkov
2014-12-18 16:39:54 +03:00
parent 367b99a156
commit 5f2446d889
11 changed files with 22 additions and 23 deletions
@@ -7,7 +7,7 @@ class C : A() {
val constant = 42
// Some comment
override val bar: Int
get() = <selection><caret>0</selection>
get() = <selection><caret>throw UnsupportedOperationException()</selection>
override fun equals(other: Any?): Boolean {
return super.equals(other)