Roles.clone

2010-08-04 Thread Josef
Hello. Quite new to the wicket world, and reading through code on some projects. So , excuse me for some beginners question farther on. One thing i can't find is why would anyone do a clone like: @Override public Roles getRoles() { return (Roles) roles.clone

Re: Roles.clone

2010-08-04 Thread Peter Ertl
question farther on. One thing i can't find is why would anyone do a clone like: @Override public Roles getRoles() { return (Roles) roles.clone(); } when writing your own Session (extends AuthenticatedWebSession ) Why is that? Regards JA

Re: Roles.clone

2010-08-04 Thread northar
Aha, so thats why they do the .clone.Thanks for the answer -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Roles-clone-tp2313319p2313988.html Sent from the Wicket - User mailing list archive at Nabble.com.