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 219877

Summary: Missing class name warnings
Product: java Reporter: george.scott
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description george.scott 2012-10-11 04:07:23 UTC
[ BUILD # : beta ]
[ JDK VERSION : 1.7.6 ]

In a java project.

If I try to rename a class (right-click->Refactor->Rename) to something without
a leading capital letter I get helpful warnings ("The first letter of Java type
should be in upper case.").  All good.

On the other hand, if I try to create a brand new class (right-click->New>Java
Class) with a similar poor name I get no warnings.

Similarly, if I try to copy and paste (right-click->Paste->Refactor Copy) I get
no warnings either.