Minor, fix typo in docs on built-ins

This commit is contained in:
Alexander Udalov
2017-03-22 13:27:38 +03:00
parent 93cb12fed0
commit 43f1c843ce
2 changed files with 74 additions and 74 deletions
@@ -145,8 +145,8 @@ class GeneratePrimitives(out: PrintWriter) : BuiltInsSourceGenerator(out) {
out.println("""
/**
* Compares this value with the specified value for order.
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
* or a positive number if its greater than other.
* Returns zero if this value is equal to the specified other value, a negative number if it's less than other,
* or a positive number if it's greater than other.
*/""")
out.print(" public ")
if (otherKind == thisKind) out.print("override ")