PMD warning

This commit is contained in:
Clément Fournier
2019-01-12 21:17:50 +01:00
parent 28812374b8
commit 61b0e54c50
2 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ import net.sourceforge.pmd.util.fxdesigner.model.XPathEvaluator;
import net.sourceforge.pmd.util.fxdesigner.popups.ExportXPathWizardController;
import net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil;
import net.sourceforge.pmd.util.fxdesigner.util.TextAwareNodeWrapper;
import net.sourceforge.pmd.util.fxdesigner.util.autocomplete.XPathAutocompleteProvider;
import net.sourceforge.pmd.util.fxdesigner.util.autocomplete.CompletionResultSource;
import net.sourceforge.pmd.util.fxdesigner.util.autocomplete.XPathAutocompleteProvider;
import net.sourceforge.pmd.util.fxdesigner.util.autocomplete.XPathCompletionSource;
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner;
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsPersistenceUtil.PersistentProperty;

View File

@ -223,7 +223,7 @@ public final class XPathAutocompleteProvider {
try {
// Only since jdk 9 unfortunately
return (Node) MethodUtils.invokeMethod(item, "getStyleableNode");
} catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) {
} catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) {
// then we're on jdk 8, in which case we do the work ourselves
}