Skip to content

Commit ad9df10

Browse files
committed
Update the copyright notices to the new requirements
* Remove copyright notices from individual files; * Update the NOTICE file to include the year of initial publication and the year of the latest change; * Remove the IDEA template for adding notices to every file.
1 parent 8671bce commit ad9df10

File tree

1,054 files changed

+2
-4137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,054 files changed

+2
-4137
lines changed

.idea/copyright/kotlinx_coroutines.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2000-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
190+
Copyright 2016-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

benchmarks/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
@file:Suppress("UnstableApiUsage")
62

73
import org.jetbrains.kotlin.gradle.tasks.*

benchmarks/src/jmh/java/benchmarks/flow/scrabble/RxJava2PlaysScrabble.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble;
62

73
import benchmarks.flow.scrabble.IterableSpliterator;

benchmarks/src/jmh/java/benchmarks/flow/scrabble/RxJava2PlaysScrabbleOpt.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble;
62

73
import java.util.*;

benchmarks/src/jmh/java/benchmarks/flow/scrabble/optimizations/FlowableCharSequence.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble.optimizations;
62

73
import io.reactivex.Flowable;

benchmarks/src/jmh/java/benchmarks/flow/scrabble/optimizations/FlowableSplit.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble.optimizations;
62

73
import io.reactivex.Flowable;

benchmarks/src/jmh/java/benchmarks/flow/scrabble/optimizations/StringFlowable.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble.optimizations;
62

73
import io.reactivex.Flowable;

benchmarks/src/jmh/kotlin/benchmarks/ChannelSinkBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/ChannelSinkDepthBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/ChannelSinkNoAllocationsBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/ParametrizedDispatcherBase.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks
62

73
import benchmarks.akka.CORES_COUNT

benchmarks/src/jmh/kotlin/benchmarks/SequentialSemaphoreBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/akka/PingPongAkkaBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.akka
62

73
import akka.actor.*

benchmarks/src/jmh/kotlin/benchmarks/akka/StatefulActorAkkaBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.akka
62

73
import akka.actor.*

benchmarks/src/jmh/kotlin/benchmarks/debug/DebugSequenceOverheadBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.debug
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/CombineFlowsBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/CombineTwoFlowsBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/FlatMapMergeBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/FlowFlattenMergeBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow
62

73
import benchmarks.common.*

benchmarks/src/jmh/kotlin/benchmarks/flow/NumbersBenchmark.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
5-
61
package benchmarks.flow
72

83
import benchmarks.flow.scrabble.flow

benchmarks/src/jmh/kotlin/benchmarks/flow/SafeFlowBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/TakeBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/FlowPlaysScrabbleBase.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/FlowPlaysScrabbleOpt.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/IterableSpliterator.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import java.util.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ReactorPlaysScrabble.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import reactor.core.publisher.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/SaneFlowPlaysScrabble.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/SequencePlaysScrabble.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import kotlinx.coroutines.*

benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ShakespearePlaysScrabble.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.flow.scrabble
62

73
import org.openjdk.jmh.annotations.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/DispatchersContextSwitchBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler
62

73
import benchmarks.akka.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/ForkJoinBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler
62

73
import benchmarks.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/LaunchBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler
62

73
import benchmarks.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/StatefulAwaitsBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler
62

73
import benchmarks.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/ConcurrentStatefulActorBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler.actors
62

73
import benchmarks.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/CycledActorsBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler.actors
62

73
import benchmarks.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/PingPongActorBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler.actors
62

73
import benchmarks.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/PingPongWithBlockingContext.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler.actors
62

73
import benchmarks.akka.*

benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/StatefulActorBenchmark.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.scheduler.actors
62

73
import benchmarks.*

benchmarks/src/main/kotlin/benchmarks/common/BenchmarkUtils.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
package benchmarks.common
62

73
import java.util.concurrent.*

build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
import org.jetbrains.kotlin.config.KotlinCompilerVersion
62
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
73
import org.jetbrains.kotlin.konan.target.HostManager

buildSrc/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
import java.util.*
62

73
plugins {

buildSrc/settings.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
41
pluginManagement {
52
val build_snapshot_train: String? by settings
63
repositories {

buildSrc/src/main/kotlin/CacheRedirector.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
import org.gradle.api.*
62
import org.gradle.api.artifacts.dsl.*
73
import org.gradle.api.artifacts.repositories.*

buildSrc/src/main/kotlin/CommunityProjectsBuild.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/*
2-
* Copyright 2016-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
41
@file:JvmName("CommunityProjectsBuild")
52

63
import org.gradle.api.*

buildSrc/src/main/kotlin/Dokka.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
import org.gradle.api.*
62
import org.gradle.kotlin.dsl.*
73
import org.jetbrains.dokka.gradle.*

buildSrc/src/main/kotlin/Idea.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
object Idea {
62
@JvmStatic // for Gradle
73
val active: Boolean

buildSrc/src/main/kotlin/Java9Modularity.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
import org.gradle.api.*
62
import org.gradle.api.attributes.*
73
import org.gradle.api.file.*

buildSrc/src/main/kotlin/OptInPreset.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
41
@file:JvmName("OptInPreset")
52

63
val optInAnnotations = listOf(

buildSrc/src/main/kotlin/Platform.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3-
*/
4-
51
import org.gradle.api.Project
62

73
// Use from Groovy for now

0 commit comments

Comments
 (0)