This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 112049 - Add .toString() in addition to cast to String
Summary: Add .toString() in addition to cast to String
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2007-08-06 13:37 UTC by Jiri Prox
Modified: 2013-09-02 14:19 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2007-08-06 13:37:30 UTC
Product Version: NetBeans IDE Dev (Build 070806) Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01 System:
Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /home/jp159440/.netbeans/dev

I'd be useful to have hint for adding .toSting() in following situation in addition to cast to String hint.

String s = <any_object>;   -->  String s = <any_object>.toString();