Collapse try blocks

This commit is contained in:
addshore 2017-05-13 12:51:43 +02:00
parent a99ae9e8bb
commit 6b75810f37
3 changed files with 3 additions and 10 deletions

View file

@ -122,10 +122,7 @@ public class Utils {
Transformer transformer = null;
try {
transformer = TransformerFactory.newInstance().newTransformer();
} catch (TransformerConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (TransformerFactoryConfigurationError e) {
} catch (TransformerConfigurationException | TransformerFactoryConfigurationError e) {
// TODO Auto-generated catch block
e.printStackTrace();
}