Skip to content

Methods

Isfirs edited this page Aug 23, 2016 · 5 revisions

Naming

  • Named in lowerCamelCase convention

Flags

No specification.

Do as needed or required.

Parameters

/**/
public void doSomething(final String fooBar)
{
    // Method content
}
/**/

White space

  • 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
}
/**/

Braces

  • New line
/**/
public void doSomething( )
{
    // Method content
}
/**/