Look for code like this:
def x = new File('file') x.text = x.text + 'data'
which should be written: x.append('data')
Log in to post a comment.