From: Decebal Suiu Date: Tue, 23 Jan 2018 19:42:30 +0000 (+0200) Subject: Formatting X-Git-Tag: release-2.2.0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0390bb19a6fa63146bac284b41ff65c861b0763;p=pf4j.git Formatting --- diff --git a/pf4j/src/main/java/org/pf4j/ManifestPluginDescriptorFinder.java b/pf4j/src/main/java/org/pf4j/ManifestPluginDescriptorFinder.java index 47f4d72..e2f26c9 100644 --- a/pf4j/src/main/java/org/pf4j/ManifestPluginDescriptorFinder.java +++ b/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;