Commit 7c0c79d63e9fcee558411febb8ee90687615f2bc
1 parent
601e60d7
Exists in
master
Mais formatação...
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/util/Beans.java
| ... | ... | @@ -103,6 +103,7 @@ public final class Beans { |
| 103 | 103 | |
| 104 | 104 | try { |
| 105 | 105 | instance = (T) getReference(manager.getBeans(beanClass)); |
| 106 | + | |
| 106 | 107 | } catch (NoSuchElementException cause) { |
| 107 | 108 | String message = getBundle().getString("bean-not-found", beanClass.getCanonicalName()); |
| 108 | 109 | throw new DemoiselleException(message, cause); |
| ... | ... | @@ -117,6 +118,7 @@ public final class Beans { |
| 117 | 118 | |
| 118 | 119 | try { |
| 119 | 120 | instance = (T) getReference(manager.getBeans(beanName)); |
| 121 | + | |
| 120 | 122 | } catch (NoSuchElementException cause) { |
| 121 | 123 | String message = getBundle().getString("bean-not-found", beanName); |
| 122 | 124 | throw new DemoiselleException(message, cause); | ... | ... |