String.java (toString): Remove `final' hack.
2000-04-28 Bryce McKinlay <bryce@albatross.co.nz> * libjava/java/lang/String.java (toString): Remove `final' hack. From-SVN: r33508
This commit is contained in:
parent
2a96658aa6
commit
065ccab369
2 changed files with 4 additions and 3 deletions
|
@ -115,9 +115,6 @@ public final class String
|
|||
|
||||
public String toString ()
|
||||
{
|
||||
// because String is final, we actually get this far on a null reference
|
||||
if (this == null)
|
||||
throw new NullPointerException();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue