Skip to content

Commit c28090e

Browse files
bactgoneall
authored andcommitted
Convert more headers
Signed-off-by: Arthit Suriyawongkul <[email protected]>
1 parent 66528c7 commit c28090e

30 files changed

+181
-156
lines changed

src/test/java/org/spdx/library/LicenseInfoFactoryTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2019 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2019 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/library/LicenseInfoFactoryTestV2.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2019 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2019 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/library/ListedLicensesTest.java

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1+
/*
2+
* SPDX-FileCopyrightText: Copyright (c) 2019 Source Auditor Inc.
3+
* SPDX-FileCopyrightText: Copyright (c) 2019 Black Duck Software Inc.
4+
* SPDX-FileType: SOURCE
5+
* SPDX-License-Identifier: Apache-2.0
6+
* <p>
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
* <p>
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
* <p>
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
119
package org.spdx.library;
20+
221
import java.util.List;
322
import java.util.Optional;
423

@@ -12,27 +31,11 @@
1231

1332
import junit.framework.TestCase;
1433

15-
/*
16-
* Copyright (c) 2019 Source Auditor Inc.
17-
*
18-
* SPDX-License-Identifier: Apache-2.0
19-
*
20-
* Licensed under the Apache License, Version 2.0 (the "License");
21-
* you may not use this file except in compliance with the License.
22-
* You may obtain a copy of the License at
23-
*
24-
* http://www.apache.org/licenses/LICENSE-2.0
25-
*
26-
* Unless required by applicable law or agreed to in writing, software
27-
* distributed under the License is distributed on an "AS IS" BASIS,
28-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29-
* See the License for the specific language governing permissions and
30-
* limitations under the License.
31-
*/
3234

3335
/**
36+
* Test listed licenses
37+
*
3438
* @author [email protected], Black Duck Software
35-
* SPDX-License-Identifier: Apache-2.0
3639
*/
3740
public class ListedLicensesTest extends TestCase {
3841

@@ -167,4 +170,4 @@ public void testGetExceptionIdProperty() throws InvalidSPDXAnalysisException {
167170
assertTrue(idProp.get() instanceof String);
168171
assertEquals(id, idProp.get());
169172
}
170-
}
173+
}

src/test/java/org/spdx/library/ModelCopyManagerTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2024 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2024 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/library/ModelCopyManagerTestV2.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2024 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2024 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/library/ModelSpecConverterTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2024 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2024 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/library/conversion/ExternalMapInfoTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2024 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2024 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/library/conversion/Spdx2to3ConverterTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2024 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2024 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/storage/listedlicense/ExceptionJsonTOCTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2020 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2020 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/test/java/org/spdx/storage/listedlicense/ExceptionJsonTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* Copyright (c) 2019 Source Auditor Inc.
3-
*
2+
* SPDX-FileCopyrightText: Copyright (c) 2019 Source Auditor Inc.
3+
* SPDX-FileType: SOURCE
44
* SPDX-License-Identifier: Apache-2.0
5-
*
5+
* <p>
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
9-
*
9+
* <p>
1010
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
11+
* <p>
1212
* Unless required by applicable law or agreed to in writing, software
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

0 commit comments

Comments
 (0)