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

Summary: bad example code shown in "Editor API" javadoc
Product: platform Reporter: eakle <eakle>
Component: DocumentationAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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