Menu

#237 rule: should use file.append

open
nobody
None
5
2013-02-16
2011-02-18
No

Look for code like this:

def x = new File('file')
x.text = x.text + 'data'

which should be written:
x.append('data')

Discussion


Log in to post a comment.