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 - NetBeans Code Snippet Module Tutorial has a incorrect source code.
Summary: NetBeans Code Snippet Module Tutorial has a incorrect source code.
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Obsolete (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@www
URL: http://platform.netbeans.org/tutorial...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 14:03 UTC by abs
Modified: 2005-12-02 15:02 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 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.