use expired instead of elapsed in javadoc