Browse Source

Formatting

pull/205/head
Decebal Suiu 7 years ago
parent
commit
c0390bb19a
  1. 2
      pf4j/src/main/java/org/pf4j/ManifestPluginDescriptorFinder.java

2
pf4j/src/main/java/org/pf4j/ManifestPluginDescriptorFinder.java

@ -51,7 +51,7 @@ public class ManifestPluginDescriptorFinder implements PluginDescriptorFinder {
protected Manifest readManifest(Path pluginPath) throws PluginException {
if (FileUtils.isJarFile(pluginPath)) {
try(JarFile jar = new JarFile(pluginPath.toFile())) {
try (JarFile jar = new JarFile(pluginPath.toFile())) {
Manifest manifest = jar.getManifest();
if (manifest != null) {
return manifest;

Loading…
Cancel
Save