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 52531 - Javadoc for ClassElement.forName needs improvement
Summary: Javadoc for ClassElement.forName needs improvement
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL: http://www.netbeans.org/servlets/Brow...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 01:46 UTC by Rochelle Raccah
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rochelle Raccah 2004-12-16 01:46:03 UTC
See the thread in the url.  The things that need
to be fixed are:
1) javadoc and nb.org docs should mention either
other ClassElement.forName or ClassPath, not one
in one place and one in the other.  If both are
mentioned, that should be done consistently in
both locations.
2) typos in the message should be fixed:
"The operation is not more supppoerted, use
ClassElement.forName(String,FileObject)"
3) The classpath usage should provide more detail
(get the FileObject and use DataObject.find and
SourceCookie) and docs on nb.org should probably
provide an example
Comment 1 Martin Matula 2004-12-21 12:01:42 UTC
Assigning to Dan.
Comment 2 Daniel Prusa 2005-01-19 16:17:17 UTC
Typo fixed.
/cvs/java/srcmodel/src/org/openide/src/ClassElement.java,v  <--  
new revision: 1.8; previous revision: 1.7
Comment 3 Rochelle Raccah 2005-01-19 20:29:49 UTC
Thanks, but the grammar is wrong - instead of "The operation is not
more suppported", it should probably be something like "This operation
is no longer suppported"
Comment 4 Daniel Prusa 2005-01-20 14:43:37 UTC
Grammar correction done.
/cvs/java/srcmodel/src/org/openide/src/ClassElement.java
new revision: 1.9; previous revision: 1.8
Comment 5 Jan Becicka 2005-01-27 12:20:27 UTC
Fixed.
Comment 6 Quality Engineering 2007-09-20 09:53:57 UTC
Reorganization of java component