]
Juraj Huska closed RF-12140.
----------------------------
Verified that it is ok now.
Upgrade com.google.guava:guava from 10.x to 11.x
-------------------------------------------------
Key: RF-12140
URL:
https://issues.jboss.org/browse/RF-12140
Project: RichFaces
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 4.2.0.Final
Reporter: Marek Novotny
Assignee: Brian Leathem
Priority: Critical
Fix For: 4.2.2.Final
I had to upgrade guava to 11.x version and this breaks the CDK Generator tests in
org.richfaces.cdk.templatecompiler.parser.el.test.ELParserTest
I have to change the usage of ImmutableSet.of to ImmutableSet.copyOf.
{noformat}
diff --git
a/generator/src/test/java/org/richfaces/cdk/templatecompiler/parser/el/test/ELParserTest.java
b/generator/src/test/java/org/richfaces/cdk/templatecompiler/parser/el/test/ELParserTest.java
index 472a34d..6039aff 100644
---
a/generator/src/test/java/org/richfaces/cdk/templatecompiler/parser/el/test/ELParserTest.java
+++
b/generator/src/test/java/org/richfaces/cdk/templatecompiler/parser/el/test/ELParserTest.java
@@ -109,7 +109,7 @@
}
for (HelperMethod helperMethod : parseExpression.getRequiredMethods()) {
assertTrue("Unexpected helper method " + helperMethod.getName(),
- Iterables.contains(ImmutableSet.of(requiredMethods),
helperMethod));
+ Iterables.contains(ImmutableSet.copyOf(requiredMethods),
helperMethod));
}
return parseExpression;
}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: