From 008f07cacce12217dd3f37e0a4a57208bf7f0387 Mon Sep 17 00:00:00 2001 From: huangyuhui Date: Fri, 25 Aug 2017 20:22:27 +0800 Subject: [PATCH] Removed wrong imports --- .../kotlin/org/jackhuang/hmcl/game/HMCLModpack.kt | 13 ------------- .../org/jackhuang/hmcl/game/AssetIndexInfo.kt | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/HMCL/src/main/kotlin/org/jackhuang/hmcl/game/HMCLModpack.kt b/HMCL/src/main/kotlin/org/jackhuang/hmcl/game/HMCLModpack.kt index e9ad6662b..13b56d6b4 100644 --- a/HMCL/src/main/kotlin/org/jackhuang/hmcl/game/HMCLModpack.kt +++ b/HMCL/src/main/kotlin/org/jackhuang/hmcl/game/HMCLModpack.kt @@ -24,22 +24,9 @@ import org.jackhuang.hmcl.setting.Profile import org.jackhuang.hmcl.task.Task import java.io.File import java.io.IOException -import sun.misc.IOUtils -import jdk.nashorn.internal.objects.NativeFunction.call import org.jackhuang.hmcl.task.TaskResult import org.jackhuang.hmcl.util.* -import sun.plugin2.util.PojoUtil.toJson -import sun.tools.jar.resources.jar -import java.util.Collections.addAll import java.util.ArrayList -import java.util.Arrays -import com.sun.javafx.scene.layout.region.BorderStyleConverter.HIDDEN - - - - - - /** * Read the manifest in a HMCL modpack. diff --git a/HMCLCore/src/main/kotlin/org/jackhuang/hmcl/game/AssetIndexInfo.kt b/HMCLCore/src/main/kotlin/org/jackhuang/hmcl/game/AssetIndexInfo.kt index 682c30f29..c52cb2932 100644 --- a/HMCLCore/src/main/kotlin/org/jackhuang/hmcl/game/AssetIndexInfo.kt +++ b/HMCLCore/src/main/kotlin/org/jackhuang/hmcl/game/AssetIndexInfo.kt @@ -17,7 +17,7 @@ */ package org.jackhuang.hmcl.game -import jdk.nashorn.internal.ir.annotations.Immutable +import org.jackhuang.hmcl.util.Immutable @Immutable class AssetIndexInfo(