From 1946de620842864268a2e0c22289cf7fa04f6b00 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 4 Jan 2021 22:43:05 +0100 Subject: [PATCH] Java: brief license header following SPDX notation Ref: https://spdx.org/licenses/ --- src.java/crosby/binary/BinaryParser.java | 19 +------------------ src.java/crosby/binary/BinarySerializer.java | 18 +----------------- src.java/crosby/binary/StringTable.java | 18 +----------------- .../crosby/binary/file/BlockInputStream.java | 18 +----------------- .../crosby/binary/file/BlockOutputStream.java | 18 +----------------- .../binary/file/BlockReaderAdapter.java | 18 +----------------- src.java/crosby/binary/file/FileBlock.java | 18 +----------------- .../crosby/binary/file/FileBlockBase.java | 18 +----------------- .../crosby/binary/file/FileBlockHead.java | 18 +----------------- .../crosby/binary/file/FileBlockPosition.java | 18 +----------------- .../binary/file/FileBlockReference.java | 18 +----------------- .../binary/file/FileFormatException.java | 18 +----------------- 12 files changed, 12 insertions(+), 205 deletions(-) diff --git a/src.java/crosby/binary/BinaryParser.java b/src.java/crosby/binary/BinaryParser.java index 7880ce0..2967dfe 100644 --- a/src.java/crosby/binary/BinaryParser.java +++ b/src.java/crosby/binary/BinaryParser.java @@ -1,23 +1,6 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary; - import java.io.UncheckedIOException; import java.util.Date; import java.util.List; diff --git a/src.java/crosby/binary/BinarySerializer.java b/src.java/crosby/binary/BinarySerializer.java index 456c219..47c3732 100644 --- a/src.java/crosby/binary/BinarySerializer.java +++ b/src.java/crosby/binary/BinarySerializer.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary; import java.io.Closeable; diff --git a/src.java/crosby/binary/StringTable.java b/src.java/crosby/binary/StringTable.java index 657c7d9..803edff 100644 --- a/src.java/crosby/binary/StringTable.java +++ b/src.java/crosby/binary/StringTable.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary; import java.util.Arrays; diff --git a/src.java/crosby/binary/file/BlockInputStream.java b/src.java/crosby/binary/file/BlockInputStream.java index 1da99bc..ca59ce6 100644 --- a/src.java/crosby/binary/file/BlockInputStream.java +++ b/src.java/crosby/binary/file/BlockInputStream.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.Closeable; diff --git a/src.java/crosby/binary/file/BlockOutputStream.java b/src.java/crosby/binary/file/BlockOutputStream.java index dc65fe6..a172231 100644 --- a/src.java/crosby/binary/file/BlockOutputStream.java +++ b/src.java/crosby/binary/file/BlockOutputStream.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.DataOutputStream; diff --git a/src.java/crosby/binary/file/BlockReaderAdapter.java b/src.java/crosby/binary/file/BlockReaderAdapter.java index 4c8e4c2..dfd771e 100644 --- a/src.java/crosby/binary/file/BlockReaderAdapter.java +++ b/src.java/crosby/binary/file/BlockReaderAdapter.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; /** An adaptor that receives blocks from an input stream */ diff --git a/src.java/crosby/binary/file/FileBlock.java b/src.java/crosby/binary/file/FileBlock.java index 16c1ce3..2d324da 100644 --- a/src.java/crosby/binary/file/FileBlock.java +++ b/src.java/crosby/binary/file/FileBlock.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.DataOutputStream; diff --git a/src.java/crosby/binary/file/FileBlockBase.java b/src.java/crosby/binary/file/FileBlockBase.java index c021c8e..f934bf8 100644 --- a/src.java/crosby/binary/file/FileBlockBase.java +++ b/src.java/crosby/binary/file/FileBlockBase.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import com.google.protobuf.ByteString; diff --git a/src.java/crosby/binary/file/FileBlockHead.java b/src.java/crosby/binary/file/FileBlockHead.java index 53113c6..065eb2a 100644 --- a/src.java/crosby/binary/file/FileBlockHead.java +++ b/src.java/crosby/binary/file/FileBlockHead.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.DataInputStream; diff --git a/src.java/crosby/binary/file/FileBlockPosition.java b/src.java/crosby/binary/file/FileBlockPosition.java index c463ecf..6843294 100644 --- a/src.java/crosby/binary/file/FileBlockPosition.java +++ b/src.java/crosby/binary/file/FileBlockPosition.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.DataInputStream; diff --git a/src.java/crosby/binary/file/FileBlockReference.java b/src.java/crosby/binary/file/FileBlockReference.java index 052a7cc..d159460 100644 --- a/src.java/crosby/binary/file/FileBlockReference.java +++ b/src.java/crosby/binary/file/FileBlockReference.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.IOException; diff --git a/src.java/crosby/binary/file/FileFormatException.java b/src.java/crosby/binary/file/FileFormatException.java index 27ec8a5..a37fd21 100644 --- a/src.java/crosby/binary/file/FileFormatException.java +++ b/src.java/crosby/binary/file/FileFormatException.java @@ -1,20 +1,4 @@ -/** Copyright (c) 2010 Scott A. Crosby. - - This program 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. - - This program 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 . - -*/ - +// SPDX-License-Identifier: LGPL-3.0-or-later package crosby.binary.file; import java.io.IOException;