Skip to content

Commit

Permalink
#746 Add ignore instruction so reuse doesn't trip
Browse files Browse the repository at this point in the history
  • Loading branch information
mrotteveel committed Feb 26, 2025
1 parent 3afad42 commit 27120d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ final void addSqlState(int code, int number, String sqlState) {
abstract void addSymbol(Facility facility, int number, String symbolName);

final void store(Map<Integer, String> data, Path filePath) throws IOException {
// REUSE-IgnoreStart
try (BufferedWriter writer = Files.newBufferedWriter(filePath, ISO_8859_1)) {
writer.write("# SPDX-FileCopyrightText: 2000-");
writer.write(Year.now().toString());
Expand All @@ -108,6 +109,7 @@ final void store(Map<Integer, String> data, Path filePath) throws IOException {
+ "Developer Public License), both are variants of the Mozilla Public License version 1.1");
store(data, writer);
}
// REUSE-IgnoreEnd
}

final void store(Map<Integer, String> map, BufferedWriter writer) throws IOException {
Expand Down

0 comments on commit 27120d2

Please sign in to comment.