I migrate a Struts app from jdk 1.4 to jdk1.5 I have warnings I would like to solve :
1) the clone() function I have a "Type Safety" exeption with this kind of code : current.setUserRights((TreeSet<Integer>) this.userRights.clone()); 2) Cast make a warning : TreeSet<JobTemplate> mySet = (TreeSet<JobTemplate>) request.getSession().getAttribute(AcceSessionConstant.JOB_TEMPLATE); Are there solutions ? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]