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/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to