The multiline commit below is the header used for .java files. No actual automatic variable replacement is performed, the $NAMEs represent things you'll have to manually edit. This template follows the FSF's guidelines here
A breakdown of the header:
- One "Copyright (C) ..." line should be added per-author.
- $YEARS should be a list of years in which the file was modified, delimited by ", ". Spans like "2020-2024" should only be used when the file was modified in all of those years.
- $AUTHOR0 should be the name of the author who modified the file during $YEARS0.
- The $YEARSX over several lines may be the same, but they don't have to be. The $AUTHORSX over several lines must be unique - only one line per author.
- If the copyright line is followed by
(from $PROJECT)
, it has been included from another project which may or may not follow the same conventions as this one - as such, it may not be as accurate. Check 3RD-PARTY-LICENSES for details.
/**
* This file is part of GregtorioOverlays - a mod to put pollution on the map.
* Copyright (C) $YEARS0 $AUTHOR0
*
* GregtorioOverlays is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GregtorioOverlays is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/