Don't use "jet" prefix in stdlib sources

This commit is contained in:
Alexander Udalov
2014-02-19 19:32:01 +04:00
parent 4a603f1268
commit 391da33c01
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ public fun String?.isNotEmpty() : Boolean = this != null && this.length() > 0
/**
Iterator for characters of given CharSequence
*/
public fun CharSequence.iterator() : CharIterator = object: jet.CharIterator() {
public fun CharSequence.iterator() : CharIterator = object : CharIterator() {
private var index = 0
public override fun nextChar(): Char = get(index++)
@@ -50,7 +50,7 @@ private class NotNullVar<T: Any>() : ReadWriteProperty<Any?, T> {
}
}
class ObservableProperty<T>(initialValue: T, val onChange: (name: jet.PropertyMetadata, oldValue: T, newValue: T) -> Boolean): ReadWriteProperty<Any?, T> {
class ObservableProperty<T>(initialValue: T, val onChange: (name: PropertyMetadata, oldValue: T, newValue: T) -> Boolean): ReadWriteProperty<Any?, T> {
private var value = initialValue
public override fun get(thisRef: Any?, desc: PropertyMetadata): T {