CoreMedia Content Cloud v11 Upgrade Guide / Version 2110
Table Of ContentsThe following deprecated classes have been deleted from the Java API:
com.coremedia.common.util.Consumer, com.coremedia.common.util.Functioncom.coremedia.common.util.Predicate
All usages have been replaced with the according JDK classes of package java.util.function. The
APIs of the consumer and the function classes are identical.
If you have implemented own consumers or functions, you only have to change the implements
clauses from com.coremedia.common.util.[Consumer|Function] to java.util.function.[Consumer|Function].
If you have own predicates, you must change the implements clause and rename the
include method to test.
The deprecated Functions and Consumers utility classes from the same package
have also been deleted, since they make no sense without the actual classes, and were trivial anyway. The
Predicates class still exists, but has been deprecated and usages can be replaced as described
in its API documentation.


