-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: CheckStyle checks copyright notice header (#1197)
* chore: test copyright notice with Checkstyle CheckStyle has a directive RegexpHeader since checkstyle version 6.9. We can use it for check copyright notice in source header Signed-off-by: Hiroshi Miura <[email protected]> * style: fix copyright header Signed-off-by: Hiroshi Miura <[email protected]> * fix: remove CopyrightTest.java in aligner Signed-off-by: Hiroshi Miura <[email protected]> * fix: remove CopyrightTest.java in theme module Signed-off-by: Hiroshi Miura <[email protected]> * style: copyright headers in tests Signed-off-by: Hiroshi Miura <[email protected]> --------- Signed-off-by: Hiroshi Miura <[email protected]>
- Loading branch information
Showing
99 changed files
with
193 additions
and
1,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 0 additions & 101 deletions
101
aligner/src/test/java/org/omegat/gui/align/CopyrightTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
^/\*(\*{73,})?$ | ||
OmegaT \- Computer Assisted Translation \(CAT\) tool$ | ||
with fuzzy matching, translation memory, keyword search,$ | ||
glossaries, and translation leveraging into updated projects.$ | ||
^( \*)?$ | ||
(Copyright \(C\)|\s{13}) \d\d\d\d((-|,)\d\d\d\d)? (\w+|\s|,)+ | ||
Home page: https://www.omegat.org/ | ||
Support center: https://omegat.org/support | ||
^( \*)?$ | ||
This file is part of OmegaT.$ | ||
^( \*)?$ | ||
OmegaT is free software: you can redistribute it and/or modify$ | ||
it under the terms of the GNU General Public License as published by$ | ||
the Free Software Foundation, either version 3 of the License, or$ | ||
\(at your option\) any later version.$ | ||
^( \*)?$ | ||
OmegaT 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 General Public License for more details.$ | ||
^( \*)?$ | ||
You should have received a copy of the GNU General Public License$ | ||
along with this program. If not, see <https://www.gnu.org/licenses/>.$ | ||
^\s?(\*{73,})?\*/$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
^#(/?\*{75,})?$ | ||
^# OmegaT \- Computer Assisted Translation \(CAT\) tool$ | ||
^# with fuzzy matching, translation memory, keyword search,$ | ||
^# glossaries, and translation leveraging into updated projects.$ | ||
^#$ | ||
^# (Copyright \(C\)|\s{13}) \d\d\d\d(-\d\d\d\d)? (\w+|\s|,)+ | ||
^# Home page: https://www.omegat.org/ | ||
^# Support center: https://omegat.org/support | ||
^#$ | ||
^# This file is part of OmegaT.$ | ||
^#$ | ||
^# OmegaT is free software: you can redistribute it and/or modify$ | ||
^# it under the terms of the GNU General Public License as published by$ | ||
^# the Free Software Foundation, either version 3 of the License, or$ | ||
^# \(at your option\) any later version.$ | ||
^# ^( \*)?$ | ||
^# OmegaT 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 General Public License for more details.$ | ||
^#$ | ||
^# You should have received a copy of the GNU General Public License$ | ||
^# along with this program. If not, see <https://www.gnu.org/licenses/>.$ | ||
^#(\*{75,}/?)?$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 0 additions & 101 deletions
101
...nslators/apertium/src/test/java/org/omegat/machinetranslators/apertium/CopyrightTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.