user avatar
java: append correct literal suffix for map keys/values constraints (#294)
Brice Jaglin authored
Without specific handling for maps in `javaTypeLiteralSuffixFor`,
no literal suffix was ever appended, resulting in compilation error in
the validator for constraints on (Java) long, float or double. This
commit mimics the structure of `javaTypeFor` to infer the suffix based
on whether keys or values are targeted.

Signed-off-by: default avatarBrice Jaglin <bjaglin@teads.tv>

Co-authored-by: default avatarRyan Michela <rmichela@salesforce.com>
fced6c08
Name Last commit Last update