Skip to content

Commit 61137e0

Browse files
committed
Updated copyright
1 parent f3fc266 commit 61137e0

File tree

8 files changed

+21
-38
lines changed

8 files changed

+21
-38
lines changed

buildSrc/src/main/kotlin/buildsrc/conventions/lang/kotlinJsExtensions.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension
1010
* version catalog.
1111
*/
1212
internal fun Project.relocateKotlinJsStore() {
13-
afterEvaluate {
14-
rootProject.extensions.configure<YarnRootExtension> {
15-
lockFileDirectory = project.rootDir.resolve("gradle/kotlin-js-store")
16-
}
17-
}
13+
afterEvaluate {
14+
rootProject.extensions.configure<YarnRootExtension> {
15+
lockFileDirectory = project.rootDir.resolve("gradle/kotlin-js-store")
16+
}
17+
}
1818
}

buildSrc/src/main/kotlin/buildsrc/conventions/publishing.gradle.kts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2001-2023 Geert Bevin (gbevin[remove] at uwyn dot com)
3-
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*/
171
package buildsrc.conventions
182

193
plugins {

buildSrc/src/main/kotlin/buildsrc/utils/Rife2TestListener.kt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
/*
2-
* Copyright 2001-2023 Geert Bevin (gbevin[remove] at uwyn dot com)
3-
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
2+
* Copyright 2001-2024 the original author or authors.
43
*
54
* Licensed under the Apache License, Version 2.0 (the "License");
65
* you may not use this file except in compliance with the License.
76
* You may obtain a copy of the License at
87
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
109
*
1110
* Unless required by applicable law or agreed to in writing, software
1211
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -48,10 +47,10 @@ class Rife2TestListener(
4847
.uri(
4948
URI(
5049
"https://rife2.com/tests-badge/update/net.thauvin.erik/urlencoder?" +
51-
"apiKey=$apiKey&" +
52-
"passed=$passed&" +
53-
"failed=$failed&" +
54-
"skipped=$skipped"
50+
"apiKey=$apiKey&" +
51+
"passed=$passed&" +
52+
"failed=$failed&" +
53+
"skipped=$skipped"
5554
)
5655
)
5756
.POST(HttpRequest.BodyPublishers.noBody())

urlencoder-app/src/commonMain/kotlin/net/thauvin/erik/urlencoder/UrlEncoder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2001-2023 the original author or authors.
2+
* Copyright 2001-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

urlencoder-app/src/commonTest/kotlin/net/thauvin/erik/urlencoder/UrlEncoderTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2001-2023 the original author or authors.
2+
* Copyright 2001-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ class UrlEncoderTest {
2929
val validMap = listOf(
3030
"a test &" to "a%20test%20%26",
3131
"!abcdefghijklmnopqrstuvwxyz%%ABCDEFGHIJKLMNOPQRSTUVQXYZ0123456789-_.~=" to
32-
"%21abcdefghijklmnopqrstuvwxyz%25%25ABCDEFGHIJKLMNOPQRSTUVQXYZ0123456789-_.%7E%3D",
32+
"%21abcdefghijklmnopqrstuvwxyz%25%25ABCDEFGHIJKLMNOPQRSTUVQXYZ0123456789-_.%7E%3D",
3333
"%#okékÉȢ smile!😁" to "%25%23ok%C3%A9k%C3%89%C8%A2%20smile%21%F0%9F%98%81",
3434
"\uD808\uDC00\uD809\uDD00\uD808\uDF00\uD808\uDD00" to "%F0%92%80%80%F0%92%94%80%F0%92%8C%80%F0%92%84%80",
3535
)

urlencoder-lib/src/commonMain/kotlin/net/thauvin/erik/urlencoder/Character.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2001-2023 the original author or authors.
2+
* Copyright 2001-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -59,15 +59,15 @@ internal object Character {
5959
internal fun lowSurrogateOf(codePoint: Int): Char =
6060
((codePoint and 0x3FF) + MIN_LOW_SURROGATE.code).toChar()
6161

62-
// private const val MIN_CODE_POINT: Int = 0x000000
62+
// private const val MIN_CODE_POINT: Int = 0x000000
6363
private const val MAX_CODE_POINT: Int = 0x10FFFF
6464

6565
private const val MIN_SUPPLEMENTARY_CODE_POINT: Int = 0x10000
6666

6767
private const val SURROGATE_DECODE_OFFSET: Int =
6868
MIN_SUPPLEMENTARY_CODE_POINT -
69-
(MIN_HIGH_SURROGATE.code shl 10) -
70-
MIN_LOW_SURROGATE.code
69+
(MIN_HIGH_SURROGATE.code shl 10) -
70+
MIN_LOW_SURROGATE.code
7171

7272
private const val HIGH_SURROGATE_ENCODE_OFFSET: Char = MIN_HIGH_SURROGATE - (MIN_SUPPLEMENTARY_CODE_POINT ushr 10)
7373
}

urlencoder-lib/src/commonMain/kotlin/net/thauvin/erik/urlencoder/UrlEncoderUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2001-2023 the original author or authors.
2+
* Copyright 2001-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

urlencoder-lib/src/commonTest/kotlin/net/thauvin/erik/urlencoder/UrlEncoderUtilTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2001-2023 the original author or authors.
2+
* Copyright 2001-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ class UrlEncoderUtilTest {
3131
val validMap = listOf(
3232
"a test &" to "a%20test%20%26",
3333
"!abcdefghijklmnopqrstuvwxyz%%ABCDEFGHIJKLMNOPQRSTUVQXYZ0123456789-_.~=" to
34-
"%21abcdefghijklmnopqrstuvwxyz%25%25ABCDEFGHIJKLMNOPQRSTUVQXYZ0123456789-_.%7E%3D",
34+
"%21abcdefghijklmnopqrstuvwxyz%25%25ABCDEFGHIJKLMNOPQRSTUVQXYZ0123456789-_.%7E%3D",
3535
"%#okékÉȢ smile!😁" to "%25%23ok%C3%A9k%C3%89%C8%A2%20smile%21%F0%9F%98%81",
3636
"\uD808\uDC00\uD809\uDD00\uD808\uDF00\uD808\uDD00" to "%F0%92%80%80%F0%92%94%80%F0%92%8C%80%F0%92%84%80",
3737
)

0 commit comments

Comments
 (0)