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 23473 - java.lang.String and java.lang.Object fully qualified in "add method parameters" dialog
Summary: java.lang.String and java.lang.Object fully qualified in "add method paramete...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-14 15:28 UTC by nczempin
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nczempin 2002-05-14 15:28:15 UTC
Release 3.3.1:

1. Right-Click on a class, select "add method..." from 
context menu.
2. The dialog "Add new Method" opens.
3. In the section 
"Method Parameters" (in the middle vertically down the dialog), click 
"add..".
4. The dialog "Enter Method Parameter" opens.
5. For 
"Type", the default "java.lang.String" is shown.

This should be 
just "String", as the text is copied into the source text, and e. g. 
violates Sun's Java coding guidelines (java.lang-members should not be 
fully qualified).

It is also possible to select "java.lang.Object" 
for the type field.


See also issues 12525 and 21924, which could be 
related.
Comment 1 Marek Grummich 2002-07-22 11:44:17 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 11:48:40 UTC
Set target milestone to TBD
Comment 3 Martin Matula 2004-11-15 14:07:49 UTC
This was fixed.
Comment 4 Quality Engineering 2007-09-20 10:06:55 UTC
Reorganization of java component