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 69620

Summary: NetBeans Code Snippet Module Tutorial has a incorrect source code.
Product: www Reporter: abs <abs>
Component: ObsoleteAssignee: issues@www <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
URL: http://platform.netbeans.org/tutorials/nbm-palette-api1.html
Issue Type: DEFECT Exception Reporter:

Description abs 2005-11-30 14:03:44 UTC
NetBeans Code Snippet Module Tutorial has a incorrect source code.
In the middle of the HTMLPaletteUtilities code, 
if (reformat && start > = 0 && doc instanceof BaseDocument) {  // format the
inserted text
current document has a above code. However, this code can't compile.
"start > =" is actually "start >=" space between ">" and "=" should be removed.
Comment 1 jcatchpoole 2005-11-30 14:56:57 UTC
Thanks for the report - where is the tutorial (url) ?
Comment 3 jcatchpoole 2005-12-02 11:56:17 UTC
Thanks.  There's a feedback mailto: on that page, so I've forwarded a note about
this issue to them.
Comment 4 Geertjan Wielenga 2005-12-02 12:47:39 UTC
Excellent catch. Thanks. Fixed it. Please verify.
Comment 5 abs 2005-12-02 15:02:42 UTC
I verify document. I really appreciate your quick action and grate document.