@Nullable private static Node getFirstChild(Node xml, String field) { if (xml==null) return null; NodeList nl = (NodeList)xml.get(field); if (nl==null || nl.isEmpty()) return null; return (Node)nl.get(0); } @Nonnull
@Nullable private static Node getFirstChild(Node xml, String field) { if (xml==null) return null; NodeList nl = (NodeList)xml.get(field); if (nl==null || nl.isEmpty()) return null; return (Node)nl.get(0); } @Nonnull