Our style requires a specific header for Java sources:
/*
* [optional text] <CreationDate> [optional text]
* <Copyright (c) yyyy FOO-COMPANY. All Rights Reserved.>
*/
Parentheses[] means that this is optional, <> means that it must be present, i.e.
valid
also valid
, , , ..
headerFormat isRegularExpression=true
:
^.+(?:0[1-9]|[12][0-9]|3[01])\.(0[1-9]|1[012])\.(19[7-9]\d|20[0-2]\d).+?Copyright \(c\) ((\b19[7-9]\d|20[0-2]\d)([,|-])?\b)* FOO-COMPANY\. All Rights Reserved\..+