Skip to content

Commit

Permalink
Minor code tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Jul 17, 2023
1 parent 020a500 commit a1acc7a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,7 @@ HashMap<String, String> properties(String db) throws Exception {
for (int i = 0; i < properties.getLength(); i++) {
Element property = (Element) properties.item(i);
String dbms = property.getAttribute("dbms");
if (isBlank(dbms)) {
continue;
} else {
if (!isBlank(dbms)) {
List<String> dbs = StringUtils.splitAndTrim(dbms, ",");
if (dbs.contains(db)) {
result.put(property.getAttribute("value"), property.getAttribute("name"));
Expand Down

0 comments on commit a1acc7a

Please sign in to comment.