Merge remote-tracking branch 'origin/4.16' into main

This commit is contained in:
Rohit Yadav 2022-04-11 16:13:56 +05:30
commit 1b46635947

View File

@ -103,7 +103,7 @@ public class OVFParser {
Node value = childNodes.item(i);
// Also match if the child's name has a suffix:
// Example: <rasd:AllocationUnits>
if (value != null && (value.getNodeName().equals(childNodeName)) || value.getNodeName().endsWith(":" + childNodeName)) {
if (value != null && (value.getNodeName().equals(childNodeName) || value.getNodeName().endsWith(":" + childNodeName))) {
return value.getTextContent();
}
}