Posted By

berndschiffer on 08/07/09


Tagged

textmate groovy closureexample


Versions (?)

Annahme über Methodenimplementierung


 / Published in: Groovy
 

URL: http://berndschiffer.blogspot.com/2009/08/beispiel-fur-refactoring-von-beispiel.html

  1. def tueA() { tue('a') }
  2. def tueB() { tue('b') }
  3. def tueC() { tue('c') }
  4.  
  5. def tue(was) {
  6. println was
  7. sleep(100)
  8. }

Report this snippet  

You need to login to post a comment.