You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/06/18 08:50:15 UTC
[myfaces-tobago] branch master updated: simplify
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 7d82f0d simplify
7d82f0d is described below
commit 7d82f0d8a18fb5f5be23574017ad3620e233d2c7
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Thu Jun 18 10:49:59 2020 +0200
simplify
---
.../tobago/component/AttributesOfGeneratedUIComponentsUnitTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 @@ public class AttributesOfGeneratedUIComponentsUnitTest extends AbstractGenerated
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());
}