Bugs item #2010652, was opened at 2008-07-04 15:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=2010652&group_id=29721Please 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: None
Group: release 4.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: feniks (feniks007)
Assigned to: Nobody/Anonymous (nobody)
Summary: arrays and incorrect indentation
Initial Comment:
Hello,
I think there is a problem with the Indentation test when using arrays.
The following line gives a problem (see attachment for complete code example):
test.getArrayOfStrings()[0] = "A string";
I'm using the Eclipse checkstyle plugin, but that imo just a gui for checkstyle, and the problem is in checkstyle itself.
Under Miscellaneous -> Indentation, I use the default check (basicOffset=4, braceAdjustment=0, caseInd=4).
When the line is indented on 8 positions (what we use) I get this message:
Indentation: method call child at indentation level 8 not at correct indentation, 12
If I indent it at 12 position, I get another message:
Indentation: method def child at indentation level 12 not at correct indentation, 8
There does not seem to be any way to validate the line, so I think this is a bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=2010652&group_id=29721-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at
http://www.sourceforge.net/community/cca08_______________________________________________
Checkstyle-devel mailing list
Checkstyle-devel@...
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel