Skip to content

Commit

Permalink
refactor: remove unused exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Apr 6, 2022
1 parent 007c97a commit 1fb5380
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@ public static void setNetworkSecurityConfig(File file) {
*
* @param file network security config file
*/
public static void modNetworkSecurityConfig(File file) throws ParserConfigurationException, TransformerException, IOException, SAXException {
public static void modNetworkSecurityConfig(File file)
throws ParserConfigurationException, TransformerException, IOException, SAXException {

DocumentBuilderFactory documentFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder documentBuilder = documentFactory.newDocumentBuilder();
Document document = documentBuilder.newDocument();
// root element

Element root = document.createElement("network-security-config");
document.appendChild(root);
Element baseConfig = document.createElement("base-config");
Expand Down

0 comments on commit 1fb5380

Please sign in to comment.