I have noticed some pretty odd formatting in the past, so anything that can
be done on this to improve code readability gets my vote.
Regards
Steve
-----Original Message-----
From: Chris Wilper [mailto:cwil...@duraspace.org]
Sent: 10 November 2011 18:45
To: fcrepo-dev
Subject: [fcrepo-dev] Code style: arg indent wonkiness & proposal
Hi all,
I've been meaning to ping the committers about this for a while...it's not a
major issue, but kind of an annoyance:
The Eclipse code formatting settings in resources/doc/devdocs/eclipse use an
indent style that often leads to really bizarre indentation when you run
Eclipse's auto-formatting tool.
It is configured to try to line up arguments requiring multiple lines like
so:
methodCall(arg1,
methodCall2(argA,
argB),
arg3);
...but usually gets things wrong so that the formatting is really hard to
read. Try running auto-format on a moderate sized class file and you'll see
what I mean pretty quickly.
I'd like to propose that we switch to a simpler style:
methodCall(arg1, methodCall2(argA,
argB), arg3);
If there are no objections, I volunteer to update and check in the Eclipse
style settings.
- Chris
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers