Skip to content

Commit 786eac1

Browse files
MarcelBochtlersschuberth
authored andcommitted
License: Use the HTTPS link to the Apache 2.0 license in the template
As it is done in the source files. Signed-off-by: Marcel Bochtler <[email protected]>
1 parent d16bcd3 commit 786eac1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
you may not use this file except in compliance with the License.
193193
You may obtain a copy of the License at
194194

195-
http://www.apache.org/licenses/LICENSE-2.0
195+
https://www.apache.org/licenses/LICENSE-2.0
196196

197197
Unless required by applicable law or agreed to in writing, software
198198
distributed under the License is distributed on an "AS IS" BASIS,

Diff for: model/src/test/kotlin/HashAlgorithmTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ class HashAlgorithmTest : StringSpec({
3131

3232
"Calculating the SHA1 on a file should yield the correct result" {
3333
// The expected hash was calculated with "sha1sum".
34-
HashAlgorithm.SHA1.calculate(file) shouldBe "92170cdc034b2ff819323ff670d3b7266c8bffcd"
34+
HashAlgorithm.SHA1.calculate(file) shouldBe "c00ef43045659b53da5d71d49b8cd7e528c9d55b"
3535
}
3636

3737
"Calculating the SHA1-GIT on a file should yield the correct result" {
3838
// The expected hash was calculated with "git ls-tree HEAD".
39-
HashAlgorithm.SHA1_GIT.calculate(file) shouldBe "8dada3edaf50dbc082c9a125058f25def75e625a"
39+
HashAlgorithm.SHA1_GIT.calculate(file) shouldBe "3f4d322ebd76de0f1bbb9c867e1f818f5202efd3"
4040
}
4141

4242
"Calculating the SHA1-GIT on a resource should yield the correct result" {

Diff for: model/src/test/kotlin/HashTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ class HashTest : WordSpec({
8787
"be insensitive to the hash's case" {
8888
val licenseFile = File("../LICENSE")
8989

90-
Hash.create("92170cdc034b2ff819323ff670d3b7266c8bffcd").verify(licenseFile) shouldBe true
91-
Hash.create("92170CDC034B2FF819323FF670D3B7266C8BFFCD").verify(licenseFile) shouldBe true
90+
Hash.create("c00ef43045659b53da5d71d49b8cd7e528c9d55b").verify(licenseFile) shouldBe true
91+
Hash.create("C00EF43045659B53DA5D71D49B8CD7E528C9D55B").verify(licenseFile) shouldBe true
9292
}
9393
}
9494
})

Diff for: scanner/src/test/assets/oss-review-toolkit-license-and-readme_scancode-2.9.2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"extension": "",
2121
"size": 11357,
2222
"date": "2018-06-04",
23-
"sha1": "92170cdc034b2ff819323ff670d3b7266c8bffcd",
23+
"sha1": "c00ef43045659b53da5d71d49b8cd7e528c9d55b",
2424
"md5": "e3fc50a88d0a364313df4b21ef20c29e",
2525
"mime_type": "text/plain",
2626
"file_type": "ASCII text",

0 commit comments

Comments
 (0)