◐ Shell
reader mode source ↗
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
4 changes: 2 additions & 2 deletions sqldev/src/main/java/org/utplsql/sqldev/model/XMLTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ public Node getElementNode(final Node node, final String tagName) {
Node resultNode = null;
if (node instanceof Element) {
NodeList list = ((Element) node).getElementsByTagName(tagName);
if (list != null && list.getLength() > 0) {
resultNode = list.item(0);
}
}
return resultNode;
}

public DocumentBuilder createDocumentBuilder() {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,6 @@ public Object getValueAt(Object node, int col) {
switch (col) {
case 0:
if (showDescription && itemNode.getDescription() != null) {
if (itemNode.getUserObject() instanceof Suite) {
if (!itemNode.getName().contains("context_#")) {
// description of suites might be bewildering, hence use it for contexts only
return itemNode.getName();
}
}
return itemNode.getDescription();
} else {
return itemNode.getName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void setupDefaultPreferences() {
preferences.setShowSuccessfulTests(true);
preferences.setShowWarningIndicator(false);
preferences.setShowInfoIndicator(false);
}
}

Expand Down
Toggle all file notes Toggle all file annotations