Author: lfryc(a)redhat.com
Date: 2011-01-13 09:40:00 -0500 (Thu, 13 Jan 2011)
New Revision: 20986
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MatrixConfigurator.java
Log:
fixed MatrixConfigurator for taking the values of enumeration instead of providing that as
array (lead into incompability of field and injected value)
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MatrixConfigurator.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MatrixConfigurator.java 2011-01-13
14:39:44 UTC (rev 20985)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MatrixConfigurator.java 2011-01-13
14:40:00 UTC (rev 20986)
@@ -337,7 +337,7 @@
throw new IllegalArgumentException(parameterType + "have to be
enumeration");
}
- result.addAll(Arrays.asList((Object) parameterType.getEnumConstants()));
+ result.addAll(Arrays.asList(parameterType.getEnumConstants()));
}
// tries satisfy parameter from fields