From 1b5cba7ce4df654d3b9766d710061397e54fba4d Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Thu, 24 Oct 2013 15:21:58 +0400 Subject: [PATCH] cleanup --- .../codeInsight/hint/actions/ShowContainerInfoAction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowContainerInfoAction.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowContainerInfoAction.java index 05557e0044d1..1cb27b29ad58 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowContainerInfoAction.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowContainerInfoAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2013 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. @@ -20,8 +20,8 @@ import com.intellij.codeInsight.actions.BaseCodeInsightAction; import com.intellij.codeInsight.hint.ShowContainerInfoHandler; import com.intellij.ide.structureView.TreeBasedStructureViewBuilder; import com.intellij.lang.LanguageStructureViewBuilder; +import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiFile; @@ -38,7 +38,7 @@ public class ShowContainerInfoAction extends BaseCodeInsightAction{ @Override @Nullable protected Editor getBaseEditor(final DataContext dataContext, final Project project) { - return PlatformDataKeys.EDITOR_EVEN_IF_INACTIVE.getData(dataContext); + return CommonDataKeys.EDITOR_EVEN_IF_INACTIVE.getData(dataContext); } @Override