logo       

[ checkstyle-Feature Requests-1745682 ] about generics and parenthesis: msg#00236

Subject: [ checkstyle-Feature Requests-1745682 ] about generics and parenthesis
Feature Requests item #1745682, was opened at 2007-06-30 12:21
Message generated for change (Comment added) made by bartsimp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=1745682&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Check
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Bartsimp (bartsimp)
Assigned to: Nobody/Anonymous (nobody)
Summary: about generics and parenthesis

Initial Comment:
Hello, that's my question about generics.

The code:
private ArrayList < String > ls = new ArrayList < String >();

fails the checkstyle because "Whitespace Around: '>' is not followed by 
whitespace."

If I add the whitespace

private ArrayList < String > ls = new ArrayList < String > ();

fails the checkstyle because "Method Parameter Pad: '(' is preceded with 
whitespace."

Exists a solution?

Thanks in advance

----------------------------------------------------------------------

>Comment By: Bartsimp (bartsimp)
Date: 2007-06-30 14:29

Message:
Logged In: YES 
user_id=1408284
Originator: YES

sorry for double post

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=1745682&group_id=29721

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>