CR-IC-5505 (cleanup)

This commit is contained in:
Roman Shevchenko
2014-06-03 21:03:09 +04:00
parent 69b649ee47
commit 9e358f43be
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2000-2014 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.
@@ -24,13 +24,11 @@ import org.jetbrains.annotations.Nullable;
* @author yole
*/
public class LanguageLevelUtil extends EffectiveLanguageLevelUtil {
/**
* @deprecated use {@link com.intellij.psi.impl.JavaPsiImplementationHelper#getEffectiveLanguageLevel(com.intellij.openapi.vfs.VirtualFile)}
* @deprecated use JavaPsiImplementationHelper#getEffectiveLanguageLevel(com.intellij.openapi.vfs.VirtualFile)
* todo remove in IDEA 15
* @param file
* @return
*/
@SuppressWarnings({"deprecation", "UnusedDeclaration"})
@NotNull
public static LanguageLevel getLanguageLevelForFile(@Nullable VirtualFile file) {
if (file == null) return LanguageLevel.HIGHEST;