Skip to content

Commit

Permalink
review: fixed comment which still pointed to outdated enum name
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed May 17, 2021
1 parent 6f74d60 commit 5107aab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -138,7 +138,7 @@ private boolean targetContainsOnlyAllowedHeaderMappings(final Target target, fin
private boolean containsOnlyAllowedTargetMappings(final HeaderMapping headerMapping,
final DittoHeaders dittoHeaders) {
headerMapping.getMapping().forEach((key, value) -> {
// only fixed set of keys are allowed (see Mqtt3Header#values())
// only fixed set of keys are allowed (see MqttHeader#getHeaderNames())
checkIfKeyIsAllowed(key, dittoHeaders);
if (Placeholders.containsAnyPlaceholder(value)) {
// allow any header placeholder as value
Expand Down

0 comments on commit 5107aab

Please sign in to comment.