XMLRootNode.getContentAsString() is refactored, and it purely calls StringUtils.join("", innerNodes);
Missing constructor visibilites are added.
StringUtils.join accepts Object instead of String, so there is no need for explicit Object -> String conversion regarding the parameters. The method will automatically call String.valueOf(object) for each parameter (except for the delimiter).
XMLRootNode.getContentAsString()
is refactored, and it purely callsStringUtils.join("", innerNodes);