Updating the javadoc with solution and returneditems changes