3 Apr
2008
3 Apr
'08
8:23 p.m.
Asiri Rathnayake wrote:
Hi Sergiu,
There are checkstyle violations like,
The String "]." appears 2 times in the file.
I can't think of a sensible way to fix this kind of complaints, any ideas ?
I usually use string formatting to solve this issue, like: String.format("error number %d means [%s] :)", 3, "wrong password") This works with Java 1.5, with the older Java language it wouldn't work so smoothly... -- Sergiu Dumitriu http://purl.org/net/sergiu/