cog icon indicating copy to clipboard operation
cog copied to clipboard

Java: Fix alerting generation

Open spinillos opened this issue 9 months ago • 1 comments

Maps were adding the import only for references and we weren't checking if a reference was an array. In this second case, we were setting values like Matchers and ObjectMatchers that are array aliases and they aren't allowed in Java.

Before:

public Matchers matchers;
public ObjectMatchers objectMatchers;

After:

public List<Matcher> matchers;
public List<List<String>> objectMatchers;

spinillos avatar May 23 '24 10:05 spinillos