Guest User

Untitled

a guest
Oct 18th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. groovy:000> [].first()
  2. ERROR java.util.NoSuchElementException:
  3. Cannot access first() element from an empty List
  4. at groovysh_evaluate.run (groovysh_evaluate:2)
  5. ...
  6. groovy:000> [][0]
  7. ===> null
Add Comment
Please, Sign In to add comment