From c0390bb19a6fa63146bac284b41ff65c861b0763 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Tue, 23 Jan 2018 21:42:30 +0200 Subject: [PATCH] Formatting --- pf4j/src/main/java/org/pf4j/ManifestPluginDescriptorFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;