Skip to content, Skip to search

Changes

Coding style

13 bytes removed, 14:21, 9 August 2014
Use GitHub template for GitHub links
== Header structure ==
We provide a script called [https://github.com/{{GitHub|repo=imagej/imagej/blob/master/|path=bin/check-headers.pl |label=check-headers.pl] }} that checks ImageJ source files for header correctness. This script checks for various issues, such as missing or incorrect license header, incorrect or misordered package and import statements, missing class Javadoc, missing author tag(s), and duplicate blank lines. These formatting rules are checked by CI via the [http://jenkins.imagej.net/job/ImageJ-style/ ImageJ-style Jenkins job], which means an email will be sent to the [[Mailing Lists|ImageJ-builds]] mailing list if the script finds any problems.
In the future, we may switch to [http://maven.apache.org/plugins/maven-checkstyle-plugin/ maven-checkstyle-plugin] to introduce additional formatting rules, but for now the script works well enough.
Bureaucrat, emailconfirmed, incoming, administrator, uploaders
11,813
edits