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 197623 - org.netbeans.editor.Annotations getPasiveAnnotations versus getPassiveAnnotations
Summary: org.netbeans.editor.Annotations getPasiveAnnotations versus getPassiveAnnotat...
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: David Strupl
Depends on:
Reported: 2011-04-11 15:03 UTC by emi
Modified: 2012-12-17 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description emi 2011-04-11 15:03:52 UTC
getPassiveAnnotations and getPasiveAnnotations are too close apart and have the same kind of argument type not to cause bugs. A simple 's' typo and you find yourself looking for bugs when it was all about the semantics of sending an int as a line number or as a document offset.

One of these two methods should be renamed.
Comment 1 David Strupl 2012-12-17 10:32:53 UTC
I should be able to fix this one. Honzo, if you disagree please stop me before I integrate the fix ;-)
Comment 2 David Strupl 2012-12-17 13:44:54 UTC