/** Update the {@link Item} for the files which have been uploaded */ private void updateItemForFiles() { ItemController ic = new ItemController(user); try { ic.update(itemList, user); itemList = new ArrayList<Item>(); } catch (Exception e) { logger.error("Error creating files for upload", e); } }