8016779: Fix doclint warnings in javax.lang.model

Mon, 17 Jun 2013 14:46:01 -0700

author
darcy
date
Mon, 17 Jun 2013 14:46:01 -0700
changeset 1823
b7a10bc02e7a
parent 1822
1eb09dba594a
child 1824
455be95bd1b5

8016779: Fix doclint warnings in javax.lang.model
Reviewed-by: jjg

src/share/classes/javax/lang/model/util/ElementScanner6.java file | annotate | diff | comparison | revisions
src/share/classes/javax/lang/model/util/ElementScanner7.java file | annotate | diff | comparison | revisions
src/share/classes/javax/lang/model/util/ElementScanner8.java file | annotate | diff | comparison | revisions
src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/javax/lang/model/util/ElementScanner6.java	Sun Jun 16 22:38:04 2013 -0700
     1.2 +++ b/src/share/classes/javax/lang/model/util/ElementScanner6.java	Mon Jun 17 14:46:01 2013 -0700
     1.3 @@ -110,6 +110,8 @@
     1.4      /**
     1.5       * Constructor for concrete subclasses; uses the argument for the
     1.6       * default value.
     1.7 +     *
     1.8 +     * @param defaultValue the default value
     1.9       */
    1.10      protected ElementScanner6(R defaultValue){
    1.11          DEFAULT_VALUE = defaultValue;
     2.1 --- a/src/share/classes/javax/lang/model/util/ElementScanner7.java	Sun Jun 16 22:38:04 2013 -0700
     2.2 +++ b/src/share/classes/javax/lang/model/util/ElementScanner7.java	Mon Jun 17 14:46:01 2013 -0700
     2.3 @@ -1,5 +1,5 @@
     2.4  /*
     2.5 - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
     2.6 + * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     2.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2.8   *
     2.9   * This code is free software; you can redistribute it and/or modify it
    2.10 @@ -101,6 +101,8 @@
    2.11      /**
    2.12       * Constructor for concrete subclasses; uses the argument for the
    2.13       * default value.
    2.14 +     *
    2.15 +     * @param defaultValue the default value
    2.16       */
    2.17      protected ElementScanner7(R defaultValue){
    2.18          super(defaultValue);
     3.1 --- a/src/share/classes/javax/lang/model/util/ElementScanner8.java	Sun Jun 16 22:38:04 2013 -0700
     3.2 +++ b/src/share/classes/javax/lang/model/util/ElementScanner8.java	Mon Jun 17 14:46:01 2013 -0700
     3.3 @@ -1,5 +1,5 @@
     3.4  /*
     3.5 - * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
     3.6 + * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
     3.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3.8   *
     3.9   * This code is free software; you can redistribute it and/or modify it
    3.10 @@ -101,6 +101,8 @@
    3.11      /**
    3.12       * Constructor for concrete subclasses; uses the argument for the
    3.13       * default value.
    3.14 +     *
    3.15 +     * @param defaultValue the default value
    3.16       */
    3.17      protected ElementScanner8(R defaultValue){
    3.18          super(defaultValue);
     4.1 --- a/src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java	Sun Jun 16 22:38:04 2013 -0700
     4.2 +++ b/src/share/classes/javax/lang/model/util/SimpleTypeVisitor6.java	Mon Jun 17 14:46:01 2013 -0700
     4.3 @@ -118,6 +118,10 @@
     4.4       * The default action for visit methods.  The implementation in
     4.5       * this class just returns {@link #DEFAULT_VALUE}; subclasses will
     4.6       * commonly override this method.
     4.7 +     *
     4.8 +     * @param e the type to process
     4.9 +     * @param p a visitor-specified parameter
    4.10 +     * @return {@code DEFAULT_VALUE} unless overridden
    4.11       */
    4.12      protected R defaultAction(TypeMirror e, P p) {
    4.13          return DEFAULT_VALUE;

mercurial