You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/03/06 13:51:21 UTC
[camel] 03/07: ReifierStrategy list should be cleared after use
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit bcb3629e6586899d5d61ad67736d45f949a4d65b
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Mar 4 23:52:50 2020 +0100
ReifierStrategy list should be cleared after use
---
core/camel-api/src/main/java/org/apache/camel/spi/ReifierStrategy.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/ReifierStrategy.java b/core/camel-api/src/main/java/org/apache/camel/spi/ReifierStrategy.java
index 668e86b..0f239a2 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/ReifierStrategy.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/ReifierStrategy.java
@@ -37,6 +37,7 @@ public abstract class ReifierStrategy {
*/
public static void clearReifiers() {
CLEARERS.forEach(Runnable::run);
+ CLEARERS.clear();
}
}