diff --git a/core/builtins/native/kotlin/Annotation.kt b/core/builtins/native/kotlin/Annotation.kt index 5557fddb15f..c2c83c6ee4b 100644 --- a/core/builtins/native/kotlin/Annotation.kt +++ b/core/builtins/native/kotlin/Annotation.kt @@ -1,24 +1,13 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin /** * Base interface implicitly implemented by all annotation interfaces. - * See [Kotlin language documentation](http://kotlinlang.org/docs/reference/annotations.html) for more information + * See [Kotlin language documentation](https://kotlinlang.org/docs/reference/annotations.html) for more information * on annotations. */ public interface Annotation diff --git a/core/builtins/native/kotlin/Array.kt b/core/builtins/native/kotlin/Array.kt index e17b97b0b34..32f771b4446 100644 --- a/core/builtins/native/kotlin/Array.kt +++ b/core/builtins/native/kotlin/Array.kt @@ -1,17 +1,6 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin @@ -20,7 +9,7 @@ package kotlin * Represents an array (specifically, a Java array when targeting the JVM platform). * Array instances can be created using the [arrayOf], [arrayOfNulls] and [emptyArray] * standard library functions. - * See [Kotlin language documentation](http://kotlinlang.org/docs/reference/basic-types.html#arrays) + * See [Kotlin language documentation](https://kotlinlang.org/docs/reference/basic-types.html#arrays) * for more information on arrays. */ public class Array { diff --git a/core/builtins/native/kotlin/Enum.kt b/core/builtins/native/kotlin/Enum.kt index 7b9a4582331..93bb3c7b3d0 100644 --- a/core/builtins/native/kotlin/Enum.kt +++ b/core/builtins/native/kotlin/Enum.kt @@ -1,24 +1,13 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin /** * The common base class of all enum classes. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/enum-classes.html) for more + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/enum-classes.html) for more * information on enum classes. */ public abstract class Enum>(name: String, ordinal: Int): Comparable { diff --git a/core/builtins/src/kotlin/Annotations.kt b/core/builtins/src/kotlin/Annotations.kt index edecf92fcaa..c91b825fa50 100644 --- a/core/builtins/src/kotlin/Annotations.kt +++ b/core/builtins/src/kotlin/Annotations.kt @@ -1,17 +1,6 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin @@ -150,7 +139,7 @@ public annotation class DslMarker * makes it effectively public. * * Public inline functions cannot use non-public API, since if they are inlined, those non-public API references - * would violate access restrictions at a call site (http://kotlinlang.org/docs/reference/inline-functions.html#public-inline-restrictions). + * would violate access restrictions at a call site (https://kotlinlang.org/docs/reference/inline-functions.html#public-inline-restrictions). * * To overcome this restriction an `internal` declaration can be annotated with the `@PublishedApi` annotation: * - this allows to call that declaration from public inline functions; diff --git a/core/builtins/src/kotlin/Range.kt b/core/builtins/src/kotlin/Range.kt index 71409f56f0e..4e30c0faa63 100644 --- a/core/builtins/src/kotlin/Range.kt +++ b/core/builtins/src/kotlin/Range.kt @@ -1,24 +1,13 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin.ranges /** * Represents a range of values (for example, numbers or characters). - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/ranges.html) for more information. + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/ranges.html) for more information. */ public interface ClosedRange> { /** diff --git a/core/builtins/src/kotlin/reflect/KAnnotatedElement.kt b/core/builtins/src/kotlin/reflect/KAnnotatedElement.kt index ecbf62adc5c..534cc2ffccd 100644 --- a/core/builtins/src/kotlin/reflect/KAnnotatedElement.kt +++ b/core/builtins/src/kotlin/reflect/KAnnotatedElement.kt @@ -1,24 +1,13 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin.reflect /** * Represents an annotated element and allows to obtain its annotations. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/annotations.html) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/annotations.html) * for more information. */ public interface KAnnotatedElement { diff --git a/core/builtins/src/kotlin/reflect/KClass.kt b/core/builtins/src/kotlin/reflect/KClass.kt index 1de09fb11a4..3caa9de6509 100644 --- a/core/builtins/src/kotlin/reflect/KClass.kt +++ b/core/builtins/src/kotlin/reflect/KClass.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ @@ -8,7 +8,7 @@ package kotlin.reflect /** * Represents a class and provides introspection capabilities. * Instances of this class are obtainable by the `::class` syntax. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html#class-references) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html#class-references) * for more information. * * @param T the type of the class. diff --git a/core/builtins/src/kotlin/reflect/KProperty.kt b/core/builtins/src/kotlin/reflect/KProperty.kt index 863382d8699..c914dc30d5d 100644 --- a/core/builtins/src/kotlin/reflect/KProperty.kt +++ b/core/builtins/src/kotlin/reflect/KProperty.kt @@ -1,17 +1,6 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ @file:Suppress("IMPLEMENTING_FUNCTION_INTERFACE") @@ -21,7 +10,7 @@ package kotlin.reflect * Represents a property, such as a named `val` or `var` declaration. * Instances of this class are obtainable by the `::` operator. * - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html) * for more information. * * @param R the type of the property. @@ -48,7 +37,7 @@ public actual interface KProperty : KCallable { /** * Represents a property accessor, which is a `get` or `set` method declared alongside the property. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/properties.html#getters-and-setters) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/properties.html#getters-and-setters) * for more information. * * @param R the type of the property, which it is an accessor of. diff --git a/core/builtins/src/kotlin/reflect/KType.kt b/core/builtins/src/kotlin/reflect/KType.kt index cfe5e0feaf5..858622d286a 100644 --- a/core/builtins/src/kotlin/reflect/KType.kt +++ b/core/builtins/src/kotlin/reflect/KType.kt @@ -1,17 +1,6 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin.reflect @@ -67,7 +56,7 @@ public interface KType : KAnnotatedElement { * * Type projection is either the star projection, or an entity consisting of a specific type plus optional variance. * - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/generics.html#type-projections) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/generics.html#type-projections) * for more information. */ @SinceKotlin("1.1") @@ -85,7 +74,7 @@ public data class KTypeProjection constructor( /** * Star projection, denoted by the `*` character. * For example, in the type `KClass<*>`, `*` is the star projection. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/generics.html#star-projections) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/generics.html#star-projections) * for more information. */ public val STAR: KTypeProjection = KTypeProjection(null, null) diff --git a/core/builtins/src/kotlin/reflect/KTypeParameter.kt b/core/builtins/src/kotlin/reflect/KTypeParameter.kt index a01761dfd02..1222c570660 100644 --- a/core/builtins/src/kotlin/reflect/KTypeParameter.kt +++ b/core/builtins/src/kotlin/reflect/KTypeParameter.kt @@ -1,24 +1,13 @@ /* - * Copyright 2010-2016 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * that can be found in the license/LICENSE.txt file. */ package kotlin.reflect /** * Represents a declaration of a type parameter of a class or a callable. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/generics.html#generics) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/generics.html#generics) * for more information. */ @SinceKotlin("1.1") diff --git a/libraries/stdlib/src/kotlin/reflect/KClass.kt b/libraries/stdlib/src/kotlin/reflect/KClass.kt index a01ce91137b..bdf16cee775 100644 --- a/libraries/stdlib/src/kotlin/reflect/KClass.kt +++ b/libraries/stdlib/src/kotlin/reflect/KClass.kt @@ -8,7 +8,7 @@ package kotlin.reflect /** * Represents a class and provides introspection capabilities. * Instances of this class are obtainable by the `::class` syntax. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html#class-references) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html#class-references) * for more information. * * @param T the type of the class. diff --git a/libraries/stdlib/src/kotlin/reflect/KProperty.kt b/libraries/stdlib/src/kotlin/reflect/KProperty.kt index aaae094ab0f..3aeba20e0a2 100644 --- a/libraries/stdlib/src/kotlin/reflect/KProperty.kt +++ b/libraries/stdlib/src/kotlin/reflect/KProperty.kt @@ -10,7 +10,7 @@ package kotlin.reflect * Represents a property, such as a named `val` or `var` declaration. * Instances of this class are obtainable by the `::` operator. * - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html) + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html) * for more information. * * @param R the type of the property.