Forum Discussion
Anonymous
11 months agoHave 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.
Related Content
- 5 months ago