Skip to content

Commit

Permalink
fix: get javaType in Messaging.java when available (#88)
Browse files Browse the repository at this point in the history
Co-authored-by: Angel Luis Marin Soler <[email protected]>
  • Loading branch information
anmaso and Angel Luis Marin Soler authored Feb 9, 2021
1 parent 60c02b3 commit 70c2fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ function getTopicInfo(channelName, channel) {

if (type) {
//console.log("It's a type: " + type);
const javaType = typeMap.get(type);
const javaType = type.javaType || typeMap.get(type);
if (!javaType) throw new Error(`topicInfo filter: type not found in typeMap: ${ type}`);
param.type = javaType;
const printfArg = type.printFormat;
Expand Down

0 comments on commit 70c2fb4

Please sign in to comment.