Remove never intentionally used String.hashCode extension.
This commit is contained in:
@@ -3,6 +3,6 @@ fun box() : String {
|
|||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
null?.hashCode()
|
null?.toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,12 +46,6 @@ public fun String.equals(anotherString: String, ignoreCase: Boolean = false): Bo
|
|||||||
else
|
else
|
||||||
(this as java.lang.String).equalsIgnoreCase(anotherString)
|
(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].
|
* Returns a copy of this string with all occurrences of [oldChar] replaced with [newChar].
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user