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 109729 - GsfCodeTemplateFilter should check for null return value of Language.getCompletionProvider
Summary: GsfCodeTemplateFilter should check for null return value of Language.getCompl...
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-14 19:51 UTC by Jan Lahoda
Modified: 2007-07-24 07:00 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 Jan Lahoda 2007-07-14 19:51:48 UTC
[recent sources]

org.netbeans.modules.gsf.Language.getCompletionProvider() is annotated with @CheckForNull, but
org.netbeans.modules.retouche.editor.codetemplates.GsfCodeTemplateFilter:81 does not check for null.
Comment 1 Jan Lahoda 2007-07-24 07:00:28 UTC
Should be fixed now:
Checking in GsfCodeTemplateFilter.java;
/cvs/ruby/gsf/src/org/netbeans/modules/retouche/editor/codetemplates/GsfCodeTemplateFilter.java,v  <-- 
GsfCodeTemplateFilter.java
new revision: 1.2; previous revision: 1.1
done