Cleanup (duplication)

This commit is contained in:
Roman Shevchenko
2017-05-12 16:42:16 +02:00
parent 5969157719
commit d0bfce76cc
3 changed files with 20 additions and 16 deletions
@@ -57,7 +57,7 @@ public abstract class JavaSdk extends SdkType implements JavaSdkType {
return JdkUtil.checkForJre(file);
}
@Nullable
/** @deprecated use {@link SdkVersionUtil#detectJdkVersion} (to be removed in IDEA 2019) */
public static String getJdkVersion(@NotNull String sdkHome) {
return SdkVersionUtil.detectJdkVersion(sdkHome);
}