Re: [cp-patches] FYI: Permission minor fix

2007-01-09 Thread David Daney
Roman Kennke wrote: Hi, This fixes a minor bug in Permission's toString method. I also changed it to use a StringBuffer instead. Why not use StringBuilder? Seems slightly more efficient. /Roman Why not leave it much as it was using the string concatenation operator '+'? The

Re: [cp-patches] FYI: Permission minor fix

2007-01-09 Thread Roman Kennke
Hi, > This fixes a minor bug in Permission's toString method. I also changed > it to use a StringBuffer instead. Why not use StringBuilder? Seems slightly more efficient. /Roman

[cp-patches] FYI: Permission minor fix

2007-01-09 Thread Tania Bento
Hey, This fixes a minor bug in Permission's toString method. I also changed it to use a StringBuffer instead. Cheers, Tania 2007-01-09 Tania Bento <[EMAIL PROTECTED]> * java/security/Permission.java: (toString): If there are no actions, then there should not be a sp