Skip to content
Snippets Groups Projects
Commit 5625558e authored by Simon Barner's avatar Simon Barner
Browse files

Revert "Correct the isAssignableFromAny method."

This reverts commit a3174c42.

Issue-Ref: 3708
Issue-Url: https://af3-developer.fortiss.org/issues/3708



Signed-off-by: default avatarSimon Barner <barner@fortiss.org>
parent 4fa969b8
No related branches found
No related tags found
No related merge requests found
LambdaUtils.java 3f5414dfe3e7efe4d2f75e8a7cd159655b2fb4c7 GREEN
LambdaUtils.java 1e99ea0c7d036adb38449603421c484d8e015274 GREEN
......@@ -312,7 +312,7 @@ public class LambdaUtils {
* @return see above.
*/
public static boolean isAssignableFromAny(Collection<Class<?>> types, Class<?> testType) {
return types.stream().anyMatch(t -> testType.isAssignableFrom(t));
return types.stream().anyMatch(t -> t.isAssignableFrom(testType));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment