mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-129630 (API updated; usages corrected)
This commit is contained in:
@@ -79,11 +79,13 @@ public class JarVersionDetectionUtil {
|
||||
}
|
||||
}
|
||||
|
||||
public static String getBundleVersion(@NotNull File jar) throws IOException {
|
||||
@Nullable
|
||||
public static String getBundleVersion(@NotNull File jar) {
|
||||
return JarUtil.getJarAttribute(jar, new Attributes.Name("Bundle-Version"));
|
||||
}
|
||||
|
||||
public static String getImplementationVersion(@NotNull File jar) throws IOException {
|
||||
@Nullable
|
||||
public static String getImplementationVersion(@NotNull File jar) {
|
||||
return JarUtil.getJarAttribute(jar, Attributes.Name.IMPLEMENTATION_VERSION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user