We talked about this a few meetings ago. Sorry we did not make a bigger announcement. We're migrating to the JBoss Community (and JBoss AS7) formatting that's more common to JBoss in particular and to Java in general.<div>
<br></div><div>Before it was as you suggested, but we have decided to switch. Enforcement is something we haven't talked about (via checkstyle, code review, etc) but we probably should at some point in the near future.</div>
<div><br></div><div>#3 is out of date with Seam 3 wrt the license in use, let alone the formatting.<br><div><br><div class="gmail_quote">2011/3/15 Ondřej Skutka <span dir="ltr"><<a href="mailto:oskutka@redhat.com">oskutka@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tue, 15 Mar 2011 14:27:04 +0100, Jason Porter <<a href="http://lightguard.jp" target="_blank">lightguard.jp</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1 & 2<br>
</blockquote>
<br>
And when have this changed and why? I haven't seen any rationale or even an announcement about the change. AFAIR it had always been 3.<br>
<br>
And if it's a permanent change that developers agreed upon, why it's not commonly used / enforced in Seam modules?<div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2011/3/15 Ondřej Skutka <<a href="mailto:oskutka@redhat.com" target="_blank">oskutka@redhat.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all!<br>
<br>
I just wonder what is the most up-to-date rule for indentation for Seam project? Is it 4 spaces as suggested in [1] and [2] or 3 spaces as suggested in [3], [4] and by the prevalent practice?<br>
<br>
Could we unify the documents and/or align sources accordingly?<br>
<br>
Thanks, Ondra<br>
<br>
[1] <a href="http://seamframework.org/Seam3/DevelopmentGuidelines" target="_blank">http://seamframework.org/Seam3/DevelopmentGuidelines</a><br>
[2] <a href="https://github.com/seam/build/blob/master/formatting_differences.README" target="_blank">https://github.com/seam/build/blob/master/formatting_differences.README</a><br>
[3] <a href="http://docs.jboss.org/process-guide/en/html/coding.html" target="_blank">http://docs.jboss.org/process-guide/en/html/coding.html</a><br>
[4] <a href="http://lists.jboss.org/pipermail/seam-dev/2010-July/002794.html" target="_blank">http://lists.jboss.org/pipermail/seam-dev/2010-July/002794.html</a> IntelliJ formatting attachement<br>
_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jason Porter<br><a href="http://lightguard-jp.blogspot.com" target="_blank">http://lightguard-jp.blogspot.com</a><br><a href="http://twitter.com/lightguardjp" target="_blank">http://twitter.com/lightguardjp</a><br>
<br>Software Engineer<br>Open Source Advocate<br>Author of Seam Catch - Next Generation Java Exception Handling<br><br>PGP key id: 926CCFF5<br>PGP key available at: <a href="http://keyserver.net" target="_blank">keyserver.net</a>, <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>
</div></div>