Remove never intentionally used String.hashCode extension.

This commit is contained in:
Ilya Gorbunov
2015-04-03 17:13:46 +03:00
parent 91decc9f33
commit 70cc7fbf1f
2 changed files with 1 additions and 7 deletions
@@ -3,6 +3,6 @@ fun box() : String {
return "OK"
}
finally {
null?.hashCode()
null?.toString()
}
}
@@ -46,12 +46,6 @@ public fun String.equals(anotherString: String, ignoreCase: Boolean = false): Bo
else
(this as java.lang.String).equalsIgnoreCase(anotherString)
/**
* Returns the hash code of this string.
*/
public fun String.hashCode(): Int = (this as java.lang.String).hashCode()
/**
* Returns a copy of this string with all occurrences of [oldChar] replaced with [newChar].
*/