diff --git a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/SourceEditorController.java b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/SourceEditorController.java index 082150668a..9e10020fc4 100644 --- a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/SourceEditorController.java +++ b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/SourceEditorController.java @@ -5,7 +5,11 @@ package net.sourceforge.pmd.util.fxdesigner; import static java.util.Collections.emptyList; -import static net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.*; +import static net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.defaultLanguageVersion; +import static net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.getSupportedLanguageVersions; +import static net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.mapToggleGroupToUserData; +import static net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.rewire; +import static net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.sanitizeExceptionMessage; import java.io.File; import java.io.IOException; diff --git a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/XPathPanelController.java b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/XPathPanelController.java index 455a9224b2..2c43b057e7 100644 --- a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/XPathPanelController.java +++ b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/XPathPanelController.java @@ -15,8 +15,6 @@ import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.function.Supplier; -import java.util.regex.Matcher; -import java.util.regex.Pattern; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; diff --git a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/app/NodeSelectionSource.java b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/app/NodeSelectionSource.java index f563f0c484..b5af205e11 100644 --- a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/app/NodeSelectionSource.java +++ b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/app/NodeSelectionSource.java @@ -36,7 +36,8 @@ public interface NodeSelectionSource extends ApplicationComponent { * @param root Instance of the app. Should be the same as {@link #getDesignerRoot()}, * but the parameter here is to make it clear that {@link #getDesignerRoot()} * must be initialized before this method is called. - * @param mySelectionEvents Stream of nodes that should push an event each + * @param mySelectionEvents Stream of nodes that should push an event each time the user selects a node + * from this control. The whole app will sync to this new selection. * @param alwaysHandleSelection Whether the component should handle selection events that originated from itself. * For now some must, because they aggregate several selection sources (the {@link net.sourceforge.pmd.util.fxdesigner.NodeInfoPanelController}). * Splitting it into separate controls will remove the need for that.