IDEA-129630 (API updated; usages corrected)

This commit is contained in:
Roman Shevchenko
2014-09-17 21:11:56 +04:00
parent 6bb2f1f819
commit 293f96c92e
@@ -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);
}