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 27999 - bad example code shown in "Editor API" javadoc
Summary: bad example code shown in "Editor API" javadoc
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-14 17:52 UTC by eakle
Modified: 2008-12-22 15:48 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 eakle 2002-10-14 17:52:50 UTC
in the 
javadoc "http://www.netbeans.org/download/apis/org/openide/
text/doc-files/api.html", in section "Accessing an Open 
Document", there is sample code shown which has some 
problems: a couple of the statements invoke methods which 
are now shown as Depricated; also, there is a variable 
named "do", and that won't compile (it's a keyword).
Comment 1 Jesse Glick 2002-10-14 20:06:59 UTC
OK.
Comment 2 Jesse Glick 2003-01-08 23:33:33 UTC
See after 24 hours:

http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/text/doc-files/api.html#accessing

committed     Up-To-Date  1.47       
openide/api/doc/org/openide/text/doc-files/api.html
Comment 3 Marian Mirilovic 2005-07-13 13:20:25 UTC
closed