essobedo commented on code in PR #9984:
URL: https://github.com/apache/camel/pull/9984#discussion_r1183386709


##########
core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java:
##########
@@ -385,7 +372,7 @@ public boolean removeProperties(String pattern, String... 
excludePatterns) {
                     continue;
                 }
                 matches = true;
-                internalProperties[epk.ordinal()] = null;
+                internalProperties.put(epk, null);

Review Comment:
   Maybe we can use the `remove` method here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to