forked from phoedos/pmd
PMD warning
This commit is contained in:
@ -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.popups.ExportXPathWizardController;
|
||||||
import net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil;
|
import net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil;
|
||||||
import net.sourceforge.pmd.util.fxdesigner.util.TextAwareNodeWrapper;
|
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.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.autocomplete.XPathCompletionSource;
|
||||||
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner;
|
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner;
|
||||||
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsPersistenceUtil.PersistentProperty;
|
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsPersistenceUtil.PersistentProperty;
|
||||||
|
@ -223,7 +223,7 @@ public final class XPathAutocompleteProvider {
|
|||||||
try {
|
try {
|
||||||
// Only since jdk 9 unfortunately
|
// Only since jdk 9 unfortunately
|
||||||
return (Node) MethodUtils.invokeMethod(item, "getStyleableNode");
|
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
|
// then we're on jdk 8, in which case we do the work ourselves
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user