Date: Tue, 19 Mar 2024 09:56:17 +0000 (UTC) Message-ID: <890093527.56047.1710842177440@cwiki-he-fi.apache.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_56046_1047719584.1710842177440" ------=_Part_56046_1047719584.1710842177440 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Struts 2 development community prefers code following a few = conventions listed here. Please respect them, if you want to contribute to = the project.
In general the Struts 2 project follows the official Java Code Conventio= ns:
http://www.oracle.com/technetwo= rk/java/codeconvtoc-136057.html
Generally there is nothing wrong with having tabs, except that there is = a historic agreement that we want to favor space character over tabs for th= e Struts codebase. The official Java Code Conventions leaves it open whethe= r to use tab or space characters. The WebWork project, which was merged int= o the Struts project as the base for Struts 2, already had a "no tab charac= ter" convention.
Another reasons is that commit messages are generally more readable with= spaces.
Modern IDEs can support the code style with just a tick.