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 225641 - 7.2, editor, refactoring, Introduce Variable wrongly parses JavaBean getter method starting with "getIs"
Summary: 7.2, editor, refactoring, Introduce Variable wrongly parses JavaBean getter m...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-01 14:44 UTC by ptomasek
Modified: 2013-03-20 09:20 UTC (History)
1 user (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 ptomasek 2013-02-01 14:44:37 UTC
getIssueDate() is parsed as sueDate variable

Build: 201212120001
Java: 1.6.0_33; Java HotSpot(TM) 64-Bit Server VM 20.8-b03
Runtime: Java(TM) SE Runtime Environment 1.6.0_33-b05
System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (nb)

Steps to reproduce:

1. Type this.rentPrescription.getIssueDate()in Java editor.
2. Select the typed text, right-click and select Refactor/Introduce Variable... from the context menu.
3. The modal dialog shows sueDate as the default variable name.

Actual result:

sueDate

Expected result:

issueDate
Comment 1 Jiri Prox 2013-02-01 15:00:44 UTC
Reproucible,

Good catch!
Comment 2 Quality Engineering 2013-02-02 02:35:11 UTC
Integrated into 'main-golden', will be available in build *201302020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7aa97162d14b
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #225641: 7.2, editor, refactoring, Introduce Variable wrongly parses JavaBean getter method starting with "getIs"
Comment 3 Jiri Prox 2013-03-12 16:57:23 UTC
verified
Comment 4 Jan Lahoda 2013-03-13 21:02:04 UTC
release73:
http://hg.netbeans.org/releases/rev/19de4ef51e28
Comment 5 Quality Engineering 2013-03-14 21:10:36 UTC
Integrated into 'releases', will be available in build *201303141828* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/19de4ef51e28
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #225641: 7.2, editor, refactoring, Introduce Variable wrongly parses JavaBean getter method starting with "getIs"