=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java' --- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java 2014-06-09 10:57:14 +0000 +++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java 2014-06-11 08:13:22 +0000 @@ -505,15 +505,7 @@ { return (T) Class.forName( getEntityName() ).newInstance(); } - catch ( InstantiationException ex ) - { - throw new RuntimeException( ex ); - } - catch ( IllegalAccessException ex ) - { - throw new RuntimeException( ex ); - } - catch ( ClassNotFoundException ex ) + catch ( InstantiationException | IllegalAccessException | ClassNotFoundException ex ) { throw new RuntimeException( ex ); }