Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Dec 12, 2023
1 parent 2ba5e10 commit e31ab06
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,18 @@ public MetaInfo with(String key, String value) {
@Override
public MetaInfo with(Map<String, String> map, String keyPrefix) {

if (map == null) {
return this;
}
return new MetaInfoMap(map, asParent(), keyPrefix);
}

@Override
public MetaInfo with(Properties properties, String keyPrefix) {

if (properties == null) {
return this;
}
return new MetaInfoProperties(properties, asParent(), keyPrefix);
}

Expand Down

0 comments on commit e31ab06

Please sign in to comment.