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.
Summary: | [tests] CompositionViolationException from encapsulate fields tests | ||
---|---|---|---|
Product: | editor | Reporter: | ehucka <ehucka> |
Component: | Refactoring | Assignee: | Pavel Flaska <pflaska> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | T9Y |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Manualy reproduced exception |
Description
ehucka
2004-10-05 10:57:52 UTC
Created attachment 18043 [details]
Manualy reproduced exception
parentClass cannot be shared by two method invocations in createSetGet method - i.e. needs to be duplicated. Assigning to Tomas. 100% reproducible by automated tests - increasing to P2 Fixed. Checking in src/org/netbeans/modules/refactoring/EncapsulateFieldElement.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/EncapsulateFieldElement.java,v <-- EncapsulateFieldElement.java new revision: 1.6; previous revision: 1.5 done verified Correct fix applied to trunk. Checking in src/org/netbeans/modules/refactoring/EncapsulateFieldElement.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/EncapsulateFieldElement.java,v <-- EncapsulateFieldElement.java new revision: 1.7; previous revision: 1.6 done Checking in org/netbeans/modules/refactoring/EncapsulateFieldElement.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/EncapsulateFieldElement.java,v <-- EncapsulateFieldElement.java new revision: 1.8; previous revision: 1.7 done |