Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0970cd4

Browse filesBrowse files
use ItemNode.createNonOverlappingSet to optimize paths before calling utPLSQL
1 parent c77e254 commit 0970cd4
Copy full SHA for 0970cd4

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,9 +743,12 @@ private ArrayList<String> getPathListFromSelectedTests() {
743743
} else {
744744
// tree-table
745745
TreePath[] selectionPaths = testOverviewTreeTable.getTree().getSelectionPaths();
746+
ArrayList<ItemNode> selectedNodes = new ArrayList<>();
746747
if (selectionPaths != null) {
747748
for (final TreePath path : selectionPaths) {
748-
final ItemNode node = (ItemNode) path.getLastPathComponent();
749+
selectedNodes.add((ItemNode) path.getLastPathComponent());
750+
}
751+
for (final ItemNode node : ItemNode.createNonOverlappingSet(selectedNodes)) {
749752
if (node.getOwnerName().equals("***")) {
750753
// process children, which must be owners only.
751754
pathList.addAll(node.getOwners());

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.