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 194302 - JavaBean name incorrect for getCC() getter
Summary: JavaBean name incorrect for getCC() getter
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 187122 194335 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-13 12:41 UTC by Marek Fukala
Modified: 2011-01-14 10:19 UTC (History)
4 users (show)

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 Marek Fukala 2011-01-13 12:41:21 UTC
Lets have a bean with following getters:
 public String getA() {
        return "getA=>a";
    }
    
    public String getBb() {
        return "getBb=>bb";
    }
    
    public String getCC() {
        return "getCC=>CC";
    }

The proper property names are as follows:

        <h1>#{myBean.a}</h1>
        <h1>#{myBean.bb}</h1>
        <h1>#{myBean.CC}</h1>

Not like the ide claims "cC" for the last case.

=> the bug leads to: improper code completion, false error check results

Originally reported by Ramon Casha from NetCAT
Comment 1 Marek Fukala 2011-01-13 13:03:09 UTC
fixed in web-main#bef2d153f035
Comment 2 Jiri Kovalsky 2011-01-13 14:16:47 UTC
OK, recorded 4 CAT points to Ramon's account. :) Thanks for the quick fix Marek!
Comment 3 Quality Engineering 2011-01-14 06:06:20 UTC
Integrated into 'main-golden', will be available in build *201101140000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bef2d153f035
User: Marek Fukala <mfukala@netbeans.org>
Log: #194302 - JavaBean name incorrect for getCC() getter
Comment 4 Marek Fukala 2011-01-14 10:18:21 UTC
*** Bug 194335 has been marked as a duplicate of this bug. ***
Comment 5 Marek Fukala 2011-01-14 10:19:21 UTC
*** Bug 187122 has been marked as a duplicate of this bug. ***