Skip to content

Instantly share code, notes, and snippets.

@dove-young
Created July 19, 2019 07:05
Show Gist options
  • Select an option

  • Save dove-young/93d8a16717459fe07d7936a988822561 to your computer and use it in GitHub Desktop.

Select an option

Save dove-young/93d8a16717459fe07d7936a988822561 to your computer and use it in GitHub Desktop.
workaround org.codehaus.groovy.runtime.NullObject
s = "something"
t = "${s} else"
Map m = [:] // [s: t]
m[s] = t
println m[s].getClass().name //org.codehaus.groovy.runtime.GStringImpl
println m[s] //something else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment