8016779: Fix doclint warnings in javax.lang.model
authordarcy
Mon, 17 Jun 2013 14:46:01 -0700
changeset 18392 de0ad9c84ce8
parent 18391 a2b449b58b9a
child 18393 3672b286337e
8016779: Fix doclint warnings in javax.lang.model Reviewed-by: jjg
langtools/src/share/classes/javax/lang/model/util/ElementScanner6.java
langtools/src/share/classes/javax/lang/model/util/ElementScanner7.java
langtools/src/share/classes/javax/lang/model/util/ElementScanner8.java
langtools/src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java
--- a/langtools/src/share/classes/javax/lang/model/util/ElementScanner6.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/langtools/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/langtools/src/share/classes/javax/lang/model/util/ElementScanner7.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/langtools/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/langtools/src/share/classes/javax/lang/model/util/ElementScanner8.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/langtools/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/langtools/src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java	Sun Jun 16 22:38:04 2013 -0700
+++ b/langtools/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;