Jenkins World
Sunday, 7 June 2020
Is there a better way to write this null check, and a non-empty check, in groovy?
There is indeed a Groovier Way.
if
(
members
){
//Some work
}
from :
https://stackoverflow.com/questions/17256855/is-there-a-better-way-to-write-this-null-check-and-a-non-empty-check-in-groovy/17256864
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment