removed "suppress unused" for deprecated methods to avoid using them again, especially since some of them already are.

This commit is contained in:
Alexey Kudravtsev
2016-09-07 14:12:33 +03:00
parent 12a1619acf
commit db6d4e1fcc
66 changed files with 2 additions and 97 deletions
@@ -27,7 +27,6 @@ import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.vfs.encoding.EncodingProjectManager;
import com.intellij.util.NotNullFunction;
import com.intellij.util.PathsList;
import com.intellij.util.Processor;
import com.intellij.util.text.VersionComparatorUtil;
import org.intellij.lang.annotations.MagicConstant;
import org.jetbrains.annotations.NotNull;
@@ -116,7 +115,6 @@ public class JavaParameters extends SimpleJavaParameters {
}
/** @deprecated use {@link #getValidJdkToRunModule(Module, boolean)} instead */
@SuppressWarnings("unused")
public static Sdk getModuleJdk(final Module module) throws CantRunException {
return getValidJdkToRunModule(module, false);
}
@@ -24,7 +24,6 @@ import org.jetbrains.annotations.NotNull;
import java.nio.charset.Charset;
/** @deprecated use {@link OSProcessHandler} (to be removed in IDEA 17) */
@SuppressWarnings("unused")
public class DefaultJavaProcessHandler extends OSProcessHandler {
public DefaultJavaProcessHandler(@NotNull JavaParameters javaParameters) throws ExecutionException {
super(CommandLineBuilder.createFromJavaParameters(javaParameters));