Skip to content

Commit 7c34ebc

Browse files
authored
Update the copyright notices to the new requirements (#4016)
* 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. This is in accordance with https://youtrack.jetbrains.com/articles/MKT-A-236159528/, using the clarifications from https://youtrack.jetbrains.com/issue/LegalCZ-6871
1 parent 1f7f8fe commit 7c34ebc

File tree

1,054 files changed

+1
-4136
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

+1
-4136
lines changed

Diff for: .idea/copyright/kotlinx_coroutines.xml

-6
This file was deleted.

Diff for: benchmarks/build.gradle.kts

-4
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.*

Diff for: benchmarks/src/jmh/java/benchmarks/flow/scrabble/RxJava2PlaysScrabble.java

-4
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;

Diff for: benchmarks/src/jmh/java/benchmarks/flow/scrabble/RxJava2PlaysScrabbleOpt.java

-4
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.*;

Diff for: benchmarks/src/jmh/java/benchmarks/flow/scrabble/optimizations/FlowableCharSequence.java

-4
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;

Diff for: benchmarks/src/jmh/java/benchmarks/flow/scrabble/optimizations/FlowableSplit.java

-4
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;

Diff for: benchmarks/src/jmh/java/benchmarks/flow/scrabble/optimizations/StringFlowable.java

-4
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;

Diff for: benchmarks/src/jmh/kotlin/benchmarks/ChannelSinkBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/ChannelSinkDepthBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/ChannelSinkNoAllocationsBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/ParametrizedDispatcherBase.kt

-4
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

Diff for: benchmarks/src/jmh/kotlin/benchmarks/SequentialSemaphoreBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/akka/PingPongAkkaBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/akka/StatefulActorAkkaBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/debug/DebugSequenceOverheadBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/CombineFlowsBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/CombineTwoFlowsBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/FlatMapMergeBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/FlowFlattenMergeBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/NumbersBenchmark.kt

-5
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

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/SafeFlowBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/TakeBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/FlowPlaysScrabbleBase.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/FlowPlaysScrabbleOpt.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/IterableSpliterator.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ReactorPlaysScrabble.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/SaneFlowPlaysScrabble.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/SequencePlaysScrabble.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ShakespearePlaysScrabble.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/DispatchersContextSwitchBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/ForkJoinBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/LaunchBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/StatefulAwaitsBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/ConcurrentStatefulActorBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/CycledActorsBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/PingPongActorBenchmark.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/PingPongWithBlockingContext.kt

-4
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.*

Diff for: benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/StatefulActorBenchmark.kt

-4
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.*

Diff for: benchmarks/src/main/kotlin/benchmarks/common/BenchmarkUtils.kt

-4
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.*

Diff for: build.gradle

-4
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

Diff for: buildSrc/build.gradle.kts

-4
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 {

Diff for: buildSrc/settings.gradle.kts

-3
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 {

Diff for: buildSrc/src/main/kotlin/CacheRedirector.kt

-4
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.*

Diff for: buildSrc/src/main/kotlin/CommunityProjectsBuild.kt

-3
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.*

Diff for: buildSrc/src/main/kotlin/Dokka.kt

-4
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.*

Diff for: buildSrc/src/main/kotlin/Idea.kt

-4
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

Diff for: buildSrc/src/main/kotlin/Java9Modularity.kt

-4
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.*

Diff for: buildSrc/src/main/kotlin/OptInPreset.kt

-3
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(

Diff for: buildSrc/src/main/kotlin/Platform.kt

-4
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

Diff for: buildSrc/src/main/kotlin/Projects.kt

-3
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("Projects")
52

63
import org.gradle.api.*

0 commit comments

Comments
 (0)