Forum Discussion
Stuart_Weenig
4 months agoLegend
Have i mentioned how much I hate Groovy?
Integer port = parseInt(hostProps.get("scc.port"))
At any rate, converting the input variable to its destination type is better done at the beginning of the script when things are not yet complicated. Converting in the middle of opening the http client can be done, but it’s harder to follow what’s going on.