Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#264 Check for space between method name and LPAREN

release_3.4
closed
Rick Giles
Check (274)
5
2012-10-10
2003-11-16
Jeff Jensen
No

Flag this:
public void methodName (String arg1)

When this is desired:
public void methodName(String arg1)

"No Whitespace after" does not have the name token.
"No Whitespace Before" does not have the arguments as
a token.
"Paren Pad" is not catching it (I have nospace and
LPAREN checking on); it appears to only check on the
spacing between the paren pair (but need to verify - it
doesn't seem to work right with it all set for none and
method args are on separate lines).

Discussion

  • Rick Giles
    Rick Giles
    2004-01-21

    Logged In: YES
    user_id=539926

    MethodParamPadCheck of the 3.4 CVS checks this.