Skip to content

Commit

Permalink
deleted commented xml methods. apache#2010
Browse files Browse the repository at this point in the history
  • Loading branch information
bamaer committed Oct 30, 2024
1 parent 3bb3495 commit f9e2611
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,39 +63,6 @@ public CheckConnections(String name, String description) {
connectionNames = new ArrayList<>();
}

/*
@Override
public String getXml() {
StringBuilder xml = new StringBuilder();
// Add action name, type, ...
//
xml.append(super.getXml());
xml.append(XmlHandler.openTag(CONST_CONNECTIONS));
for (String connectionName : connectionNames) {
xml.append(XmlHandler.addTagValue("connection", connectionName));
}
xml.append(XmlHandler.closeTag(CONST_CONNECTIONS));
return xml.toString();
}
@Override
public void loadXml(Node node, IHopMetadataProvider iHopMetadataProvider, IVariables iVariables)
throws HopXmlException {
super.loadXml(node);
connectionNames = new ArrayList<>();
Node connectionsNode = XmlHandler.getSubNode(node, CONST_CONNECTIONS);
List<Node> connectionNodes = XmlHandler.getNodes(connectionsNode, "connection");
for (Node connectionNode : connectionNodes) {
String connectionName = XmlHandler.getNodeValue(connectionNode);
connectionNames.add(connectionName);
}
}
*/

@Override
public Result execute(Result result, int nr) throws HopException {

Expand Down

0 comments on commit f9e2611

Please sign in to comment.