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

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...

Wait a minute, I'm trying to think of something clever to say...<p>Joel
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: spacing around identifiers
It's not a secret anymore!