Code improvements in Common Utils
[vfc/nfvo/driver/ems.git] / ems / boco / src / main / java / org / onap / vfc / nfvo / emsdriver / commons / utils / XmlUtil.java
index 19483ca..c08d8b0 100644 (file)
@@ -26,9 +26,8 @@ import java.io.InputStream;
 
 public class XmlUtil {
 
-    public static Document getDocument(InputStream is) throws XMLStreamException, JDOMException, IOException {
-        SAXBuilder builder = new SAXBuilder();
-        Document doc = builder.build(is);
-        return doc;
-    }
+       public static Document getDocument(InputStream is) throws JDOMException, IOException {
+               SAXBuilder builder = new SAXBuilder();
+               return builder.build(is);
+       }
 }