From 2285d3e3cf8a76e7e45433f2f4301caf724c1ce3 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Wed, 19 Aug 2020 12:59:59 +0300 Subject: [PATCH] Move Variance and AnnotationUseSiteTarget to :core.descriptors.common --- .../annotations/AnnotationUseSiteTarget.kt | 0 .../src/org/jetbrains/kotlin/types/Variance.kt | 15 ++------------- 2 files changed, 2 insertions(+), 13 deletions(-) rename core/{descriptors => descriptors.common}/src/org/jetbrains/kotlin/descriptors/annotations/AnnotationUseSiteTarget.kt (100%) rename core/{descriptors => descriptors.common}/src/org/jetbrains/kotlin/types/Variance.kt (65%) diff --git a/core/descriptors/src/org/jetbrains/kotlin/descriptors/annotations/AnnotationUseSiteTarget.kt b/core/descriptors.common/src/org/jetbrains/kotlin/descriptors/annotations/AnnotationUseSiteTarget.kt similarity index 100% rename from core/descriptors/src/org/jetbrains/kotlin/descriptors/annotations/AnnotationUseSiteTarget.kt rename to core/descriptors.common/src/org/jetbrains/kotlin/descriptors/annotations/AnnotationUseSiteTarget.kt diff --git a/core/descriptors/src/org/jetbrains/kotlin/types/Variance.kt b/core/descriptors.common/src/org/jetbrains/kotlin/types/Variance.kt similarity index 65% rename from core/descriptors/src/org/jetbrains/kotlin/types/Variance.kt rename to core/descriptors.common/src/org/jetbrains/kotlin/types/Variance.kt index 039fddf0eb1..f2e22450cd2 100644 --- a/core/descriptors/src/org/jetbrains/kotlin/types/Variance.kt +++ b/core/descriptors.common/src/org/jetbrains/kotlin/types/Variance.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-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.types