From a838bc38c5141174d92f1bd9ee0b71dd896a9550 Mon Sep 17 00:00:00 2001 From: rbygrave Date: Wed, 4 Feb 2015 21:09:12 +1300 Subject: [PATCH] No effective change - format code --- .../server/deploy/BeanLifecycleAdapterFactory.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/avaje/ebeaninternal/server/deploy/BeanLifecycleAdapterFactory.java b/src/main/java/com/avaje/ebeaninternal/server/deploy/BeanLifecycleAdapterFactory.java index 71c053945..22eb69b27 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/deploy/BeanLifecycleAdapterFactory.java +++ b/src/main/java/com/avaje/ebeaninternal/server/deploy/BeanLifecycleAdapterFactory.java @@ -123,13 +123,11 @@ public class BeanLifecycleAdapterFactory { private void invoke(Method method, Object bean) { try { method.invoke(bean); - } - catch (InvocationTargetException e) { - throw new PersistenceException("Error invoking lifecycle method", e); - } - catch (IllegalAccessException e) { - throw new PersistenceException("Error invoking lifecycle method", e); - } + } catch (InvocationTargetException e) { + throw new PersistenceException("Error invoking lifecycle method", e); + } catch (IllegalAccessException e) { + throw new PersistenceException("Error invoking lifecycle method", e); + } } private void invoke(Method method, BeanPersistRequest request) {