Move Closeable to its usage, move internal Serializable to kotlin package in JS, introduce internal typealias in kotlin.io in JVM.

This commit is contained in:
Ilya Gorbunov
2016-10-05 21:48:38 +03:00
parent a895702730
commit 660dc94f7c
13 changed files with 28 additions and 123 deletions
@@ -19,7 +19,6 @@
package kotlin.collections
import java.io.Serializable
import java.util.*
import kotlin.comparisons.compareValues
@@ -3,7 +3,6 @@
package kotlin.collections
import java.io.Serializable
import java.util.*
private object EmptyMap : Map<Any?, Nothing>, Serializable {
@@ -3,7 +3,6 @@
package kotlin.collections
import java.io.Serializable
import java.util.*
@@ -0,0 +1,20 @@
/*
* 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.
*/
@file:JvmVersion
package kotlin.io
// to use in shared code without imports
internal typealias Serializable = java.io.Serializable
-1
View File
@@ -2,7 +2,6 @@
package kotlin
import java.io.Serializable
import kotlin.reflect.KProperty
/**
@@ -1,7 +1,6 @@
@file:kotlin.jvm.JvmName("TuplesKt")
package kotlin
import java.io.Serializable
/**
* Represents a generic pair of two values.