Skip to content

Commit

Permalink
sepinf-inc#2294: remove unnecessary throws
Browse files Browse the repository at this point in the history
  • Loading branch information
aberenguel committed Aug 19, 2024
1 parent cdee02c commit b663dd3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
import javax.xml.xpath.XPathFactory;

import org.apache.commons.lang3.StringUtils;
import org.apache.tika.exception.TikaException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;

import com.dd.plist.NSDictionary;
import com.dd.plist.NSObject;
Expand All @@ -37,7 +35,7 @@ public String getTitle() {
return "WhatsApp Account: " + getName(); //$NON-NLS-1$
}

public static WAAccount getFromAndroidXml(InputStream is) throws SAXException, IOException, TikaException {
public static WAAccount getFromAndroidXml(InputStream is) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Expand Down

0 comments on commit b663dd3

Please sign in to comment.