Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » When the first letter of a Class is not captal, but not warning(class)
When the first letter of a Class is not captal, but not warning [message #1138828] Tue, 15 October 2013 10:59 Go to next message
Zhg Mising name is currently offline Zhg Mising nameFriend
Messages: 81
Registered: March 2011
Member
I try to write a class name in a way of lowercase at first. but the eclipse does not warn.
why?
as it is not a standard written.


Thanks,
Re: When the first letter of a Class is not captal, but not warning [message #1139384 is a reply to message #1138828] Tue, 15 October 2013 18:46 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Where are you writing it?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: When the first letter of a Class is not captal, but not warning [message #1139991 is a reply to message #1139384] Wed, 16 October 2013 04:31 Go to previous messageGo to next message
Zhg Mising name is currently offline Zhg Mising nameFriend
Messages: 81
Registered: March 2011
Member
the first line of class declare,
public class myFirstLearn
or
public class MyFirstLearn
are the same
no warning at all.


Thanks,
Re: When the first letter of a Class is not captal, but not warning [message #1140708 is a reply to message #1139991] Wed, 16 October 2013 14:48 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/15/2013 10:31 PM, Zhg Mising name wrote:
> the first line of class declare,
> public class myFirstLearn
> or
> public class MyFirstLearn
> are the same
> no warning at all.

Eclipse isn't the thought police: it's rare that it would force you to
do something right that's an arbitrary convention rather than a
violation of language syntax. If you want to tailor what Eclipse has to
say about your Java code, see Preferences -> Java -> Compiler ->
Errors/Warnings.
Re: When the first letter of a Class is not captal, but not warning [message #1141064 is a reply to message #1140708] Wed, 16 October 2013 20:18 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

It will give you that feedback if you create your class using the New Java Class wizard.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: When the first letter of a Class is not captal, but not warning [message #1141414 is a reply to message #1141064] Thu, 17 October 2013 02:00 Go to previous message
Zhg Mising name is currently offline Zhg Mising nameFriend
Messages: 81
Registered: March 2011
Member
oh, thanks.

Thanks,
Previous Topic:Where is reflect in the eclipse?
Next Topic:Eclipse (Kepler version) ESRI & Arcpy
Goto Forum:
  


Current Time: Thu Apr 25 03:50:27 GMT 2024

Powered by FUDForum. Page generated in 0.08579 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top