Instead of
log.debug("Creating new order for user: #0 product: #1 quantity: #2",
user.username(), product.name(), quantity);
#0, #1, #2
why couldn't we just always use
#?
Parameters are already ordered. There is no need to number them in the format
string, this will be just another source of errors.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036927#4036927
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036927
_______________________________________________
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user