my dog learned polymorphism*
The moose likes Cattle Drive and the fly likes spacing around identifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "spacing around identifiers" Watch "spacing around identifiers" New topic
Author

spacing around identifiers

Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
In a recent submission, I had a line similar to the following:
private static int getNumber( int num, String str )
and received the following nitpick:
"spacing around all identifiers (including between identifier and punctuation)"
Is it correct to put a space between the identifier and the comma, like:
private static int getNumber( int num , String str ) ???
Joel Cochran
Ranch Hand

Joined: Mar 23, 2001
Posts: 301
you got it!
------------------
I'm a soldier in the NetScape Wars...
Joel


Wait a minute, I'm trying to think of something clever to say...<p>Joel
 
GeeCON Prague 2014
 
subject: spacing around identifiers