Skip to content

Commit 70c2fb4

Browse files
anmasoAngel Luis Marin Soler
and
Angel Luis Marin Soler
authored
fix: get javaType in Messaging.java when available (#88)
Co-authored-by: Angel Luis Marin Soler <[email protected]>
1 parent 60c02b3 commit 70c2fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filters/all.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ function getTopicInfo(channelName, channel) {
688688

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

0 commit comments

Comments
 (0)