Collapse identical catch statements in tests
This commit is contained in:
parent
52ada0131a
commit
04e7b8d7ab
@ -645,16 +645,7 @@ public class RepoXMLHandlerTest extends AndroidTestCase {
|
||||
InputSource is = new InputSource(new BufferedInputStream(input));
|
||||
reader.parse(is);
|
||||
return handler;
|
||||
} catch (ParserConfigurationException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
} catch (SAXException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
} catch (IOException e) {
|
||||
} catch (ParserConfigurationException | SAXException | IOException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user