From 8987e0934867581614bf6c2490d930ec9cf9b907 Mon Sep 17 00:00:00 2001 From: jgish Date: Wed, 2 May 2012 21:46:31 +0100 Subject: [PATCH] 7160714: Strange or obsolete @see tags in some exception java.util javadoc Reviewed-by: mduigou, dholmes, alanb --- src/share/classes/java/util/NoSuchElementException.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/share/classes/java/util/NoSuchElementException.java b/src/share/classes/java/util/NoSuchElementException.java index 88ff2c079..15e1aad98 100644 --- a/src/share/classes/java/util/NoSuchElementException.java +++ b/src/share/classes/java/util/NoSuchElementException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,13 +26,12 @@ package java.util; /** - * Thrown by the nextElement method of an - * Enumeration to indicate that there are no more - * elements in the enumeration. + * Thrown by various accessor methods to indicate that the element being requested + * does not exist. * * @author unascribed - * @see java.util.Enumeration * @see java.util.Enumeration#nextElement() + * @see java.util.Iterator#next() * @since JDK1.0 */ public -- GitLab