-
-
Notifications
You must be signed in to change notification settings - Fork 348
Methods
Isfirs edited this page Aug 23, 2016
·
5 revisions
- Named in
lowerCamelCase
convention
No specification.
Do as needed or required.
- Make parameters
final
- Refer to Variables
/**/
public void doSomething(final String fooBar)
{
// Method content
}
/**/
- Add
white space
to empty method arguments
/**/
public void doSomething( )
{
// Method content
}
/**/
- Add one
white space
after,
/**/
public void doSomething(String foo, String bar)
{
// Method content
}
/**/
- New line
/**/
public void doSomething( )
{
// Method content
}
/**/