diff --git a/plugins/devkit/testSources/build/PluginModuleCompilationTest.kt b/plugins/devkit/testSources/build/PluginModuleCompilationTest.kt index 8cb3e8a06fc4..fbe2056840e2 100644 --- a/plugins/devkit/testSources/build/PluginModuleCompilationTest.kt +++ b/plugins/devkit/testSources/build/PluginModuleCompilationTest.kt @@ -1,18 +1,4 @@ -/* - * Copyright 2000-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 2000-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 file. package org.jetbrains.idea.devkit.build import com.intellij.compiler.BaseCompilerTestCase @@ -41,12 +27,11 @@ import java.util.* * @author nik */ class PluginModuleCompilationTest : BaseCompilerTestCase() { - override fun setUpJdk() { super.setUpJdk() runWriteAction { val table = ProjectJdkTable.getInstance() - var pluginSdk: Sdk = table.createSdk("IDEA plugin SDK", SdkType.findInstance(IdeaJdk::class.java)) + val pluginSdk: Sdk = table.createSdk("IDEA plugin SDK", SdkType.findInstance(IdeaJdk::class.java)) val modificator = pluginSdk.sdkModificator modificator.sdkAdditionalData = Sandbox(getSandboxPath(), testProjectJdk, pluginSdk) val rootPath = FileUtil.toSystemIndependentName(PathManager.getJarPathForClass(FileUtilRt::class.java)!!)