--- On Thu, 7/31/08, Milan Milanovic wrote: > (getSession().put("variable", new Boolean(true));
Use Boolean.TRUE rather than instantiating a new object. Note also that the Javadocs for Boolean state in big bold letters: "Note: It is rarely appropriate to use this constructor. Unless a new instance is required, the static factory valueOf(boolean) is generally a better choice. It is likely to yield significantly better space and time performance." Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]