commit | 7d82f0d8a18fb5f5be23574017ad3620e233d2c7 | [log] [tgz] |
---|---|---|
author | Udo Schnurpfeil <udo.schnurpfeil@irian.eu> | Thu Jun 18 10:49:59 2020 +0200 |
committer | Udo Schnurpfeil <udo.schnurpfeil@irian.eu> | Thu Jun 18 10:49:59 2020 +0200 |
tree | d4482643433f2aeb4c7405f1cb329c5e478d3de3 | |
parent | 8183d7fd195e181687be3ecf0ea1e0cc294893c0 [diff] |
simplify
diff --git a/tobago-core/src/test/java/org/apache/myfaces/tobago/component/AttributesOfGeneratedUIComponentsUnitTest.java b/tobago-core/src/test/java/org/apache/myfaces/tobago/component/AttributesOfGeneratedUIComponentsUnitTest.java index ef3395a..36deb06 100644 --- a/tobago-core/src/test/java/org/apache/myfaces/tobago/component/AttributesOfGeneratedUIComponentsUnitTest.java +++ b/tobago-core/src/test/java/org/apache/myfaces/tobago/component/AttributesOfGeneratedUIComponentsUnitTest.java
@@ -48,9 +48,8 @@ if (property.equals("for")) { property = "forValue"; } - final Attributes attribute; try { - attribute = Attributes.valueOf(property); + Attributes.valueOf(property); } catch (final IllegalArgumentException e) { Assertions.fail(e.getMessage()); }