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 41712 - Return type of data convertor method is hard to change
Summary: Return type of data convertor method is hard to change
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 15:23 UTC by Martin Schovanek
Modified: 2009-12-21 04:42 UTC (History)
0 users

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 Martin Schovanek 2004-04-05 15:23:56 UTC
[Nb 3.6RC2, jdk1.4.2]

Steps to reproduce:
-------------------
1) start the SAX Handler Wizard
2) go to the panel 3. Data Convertors
3) set the same data convertor method name for all
elements
4) change the return type for the convertor method
ERROR: change the return type is not possible

WORKAROUND: Change the return type is possible
only if the method name is used only for one elemet.
Comment 1 _ pkuzel 2004-04-05 15:29:12 UTC
Java does not allow two mwthod signatures that differs just in return
type.
Comment 2 Martin Schovanek 2004-04-05 17:21:41 UTC
Yes, but why the wizard doesn't change the return type for all
elements which have set the method? It's litle unnoying if you must
unset all elements, change the return type and then set the convertor
method again.
Comment 3 _ pkuzel 2004-04-05 17:29:28 UTC
Yes, it could. However it's corner case rather enhancement than bug ;-).
Comment 4 Martin Schovanek 2004-04-05 17:40:43 UTC
Yes, corner and unnoying case, P4 defect seems appropriate to me. ;-)
Comment 5 Quality Engineering 2009-12-21 04:42:01 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team