|
From: Bavo De R. <ba...@us...> - 2010-08-07 11:07:06
|
Update of /cvsroot/pfc/pfc-rt/src/java/portal/rt/services/velocity In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv11634/src/java/portal/rt/services/velocity Modified Files: VelocityServiceImpl.java Log Message: Refactored to support generics. Added a default serialization id for all serializable classes. Index: VelocityServiceImpl.java =================================================================== RCS file: /cvsroot/pfc/pfc-rt/src/java/portal/rt/services/velocity/VelocityServiceImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VelocityServiceImpl.java 13 Sep 2005 11:28:01 -0000 1.1 --- VelocityServiceImpl.java 7 Aug 2010 11:06:58 -0000 1.2 *************** *** 66,73 **** if (_serviceConfig.getAttributeNames() != null) { ! Iterator it = _serviceConfig.getAttributeNames().iterator(); while (it.hasNext()) { ! String attrName = (String) it.next(); String attrValue = _serviceConfig.getAttributeValue(attrName); --- 66,73 ---- if (_serviceConfig.getAttributeNames() != null) { ! Iterator<String> it = _serviceConfig.getAttributeNames().iterator(); while (it.hasNext()) { ! String attrName = it.next(); String attrValue = _serviceConfig.getAttributeValue(attrName); |