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: | newDetailRecord should not generate Collection | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Patrick Keegan <pkeegan> |
Component: | Binding | Assignee: | issues@guibuilder <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Patrick Keegan
2008-10-31 14:17:53 UTC
>> where getOrdersCollection() returns a List, could be changed to ...
?? If getOrdersCollection() method returns a list, control jumps to the end of that "if" statement and skips that two lines.
From my point of view "problem" is only inside that IF ...
os = new LinkedList<desktopapplication2.Orders>(); // "os" WILL contain List
c.setOrdersCollection((List)os); // no need to cast "os" to List
Did I understand your report correctly?
Oups, Jan Stola helped me to understand your report. It's about return "type" of getOrdersCollection() and redundant cast, so please skip my last comment. :) |