}
// Set the properties
String oldVal, newVal;
PropertyDefinition def;
for (Iterator i = f.storedItems(); i.hasNext();) {
PropertyItem item = (PropertyItem) i.next();
def = item.getDefinition();
newVal = String.valueOf(item.getPropertyValue());
if (log.isDebugEnabled())
log.debug("Setting '" + def.getName() + "' to '" + newVal + "'");