changeset 1822:b7a10bc02e7a

8016779: Fix doclint warnings in javax.lang.model Reviewed-by: jjg
author darcy
date Mon, 17 Jun 2013 14:46:01 -0700
parents 1eb09dba594a
children 455be95bd1b5
files src/share/classes/javax/lang/model/util/ElementScanner6.java src/share/classes/javax/lang/model/util/ElementScanner7.java src/share/classes/javax/lang/model/util/ElementScanner8.java src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java
diffstat 4 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/lang/model/util/ElementScanner6.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/src/share/classes/javax/lang/model/util/ElementScanner6.java	Mon Jun 17 14:46:01 2013 -0700
@@ -110,6 +110,8 @@
     /**
      * Constructor for concrete subclasses; uses the argument for the
      * default value.
+     *
+     * @param defaultValue the default value
      */
     protected ElementScanner6(R defaultValue){
         DEFAULT_VALUE = defaultValue;
--- a/src/share/classes/javax/lang/model/util/ElementScanner7.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/src/share/classes/javax/lang/model/util/ElementScanner7.java	Mon Jun 17 14:46:01 2013 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2013, 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
@@ -101,6 +101,8 @@
     /**
      * Constructor for concrete subclasses; uses the argument for the
      * default value.
+     *
+     * @param defaultValue the default value
      */
     protected ElementScanner7(R defaultValue){
         super(defaultValue);
--- a/src/share/classes/javax/lang/model/util/ElementScanner8.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/src/share/classes/javax/lang/model/util/ElementScanner8.java	Mon Jun 17 14:46:01 2013 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2013, 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
@@ -101,6 +101,8 @@
     /**
      * Constructor for concrete subclasses; uses the argument for the
      * default value.
+     *
+     * @param defaultValue the default value
      */
     protected ElementScanner8(R defaultValue){
         super(defaultValue);
--- a/src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java	Mon Jun 17 14:46:01 2013 -0700
@@ -118,6 +118,10 @@
      * The default action for visit methods.  The implementation in
      * this class just returns {@link #DEFAULT_VALUE}; subclasses will
      * commonly override this method.
+     *
+     * @param e the type to process
+     * @param p a visitor-specified parameter
+     * @return {@code DEFAULT_VALUE} unless overridden
      */
     protected R defaultAction(TypeMirror e, P p) {
         return DEFAULT_VALUE;