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

Summary: org.netbeans.editor.Annotations getPasiveAnnotations versus getPassiveAnnotations
Product: editor Reporter: emi <emi>
Component: Hints & AnnotationsAssignee: David Strupl <dstrupl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

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
http://hg.netbeans.org/jet-main/rev/dff2eb97d88a