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 236898

Summary: Patch for: Spring: code completion for property name shows properties which only have a getter
Product: javaee Reporter: markiewb
Component: SpringAssignee: Martin Fousek <marfous>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH_AVAILABLE
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Shows the issue
Proposed patch

Description markiewb 2013-10-08 19:25:55 UTC
Created attachment 140906 [details]
Shows the issue

ACTUAL: plain getters are shown in code completion (like getClass, getOnlyGetter)
EXPECTED: only properties with at least a setter are shown

See screenshot for code example and current completion

Product Version: NetBeans IDE 7.4 (Build 201310012201)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\markiewb\AppData\Roaming\NetBeans\7.4
Cache directory: C:\Users\markiewb\AppData\Local\NetBeans\Cache\7.4
Comment 1 markiewb 2013-10-08 19:41:04 UTC
Created attachment 140908 [details]
Proposed patch

I like to propose a patch to fix the issue. Please review and commit! Thank you
Comment 2 Martin Fousek 2013-10-09 07:41:33 UTC
Thanks a lot for the patch, I'll take a look on that soon.
Comment 3 Martin Fousek 2013-10-10 07:18:13 UTC
Good job Benno. Thanks for the report and the patch.
Looks well, integrated in web-main #cbbef6a6aaa6.