Skip to content
Permalink
Browse files

8235447: Remove (obsolete) @author info from javadoc tests

Reviewed-by: ksrini, jjg
  • Loading branch information
pavelrappo committed Dec 12, 2019
1 parent 9b45398 commit 71da14104ab829d784d59645e00d334085d5b66e
Showing with 112 additions and 225 deletions.
  1. +1 −1 test/langtools/jdk/javadoc/doclet/AuthorDD/AuthorDD.java
  2. +4 −4 test/langtools/jdk/javadoc/doclet/AuthorDD/p1/C1.java
  3. +1 −4 test/langtools/jdk/javadoc/doclet/testAnnotationOptional/pkg/AnnotationOptional.java
  4. +1 −1 test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java
  5. +1 −4 test/langtools/jdk/javadoc/doclet/testAnnotationTypes/pkg/AnnotationType.java
  6. +1 −2 test/langtools/jdk/javadoc/doclet/testBaseClass/BaseClass.java
  7. +1 −4 test/langtools/jdk/javadoc/doclet/testClassTree/pkg/AnnotationType.java
  8. +1 −3 test/langtools/jdk/javadoc/doclet/testClassTree/pkg/Coin.java
  9. +2 −2 test/langtools/jdk/javadoc/doclet/testCopyFiles/TestCopyFiles.java
  10. +2 −3 test/langtools/jdk/javadoc/doclet/testCopyFiles/modules/acme.mdle/p/doc-files/inpackage.html
  11. +2 −3 test/langtools/jdk/javadoc/doclet/testCopyFiles/modules/acme.mdle/p/package.html
  12. +2 −3 test/langtools/jdk/javadoc/doclet/testCopyFiles/modules/acme2.mdle/p2/doc-files/inpackage.html
  13. +2 −3 test/langtools/jdk/javadoc/doclet/testCopyFiles/modules/acme2.mdle/p2/package.html
  14. +1 −2 test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/pkg1/C1.java
  15. +1 −2 test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/pkg1/C2.java
  16. +1 −4 test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/pkg1/C3.java
  17. +1 −2 test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/pkg1/C5.java
  18. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlTableTags/pkg1/C1.java
  19. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlTableTags/pkg1/I1.java
  20. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlTableTags/pkg2/C2.java
  21. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlTableTags/pkg2/C3.java
  22. +1 −4 test/langtools/jdk/javadoc/doclet/testHtmlVersion/pkg/AnnotationType.java
  23. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlVersion/pkg/AnotherClass.java
  24. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlVersion/pkg1/NestedInnerClass.java
  25. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlVersion/pkg1/PrivateIncludeInnerClass.java
  26. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlVersion/pkg1/ProtectedInnerClass.java
  27. +1 −3 test/langtools/jdk/javadoc/doclet/testHtmlVersion/pkg1/PublicExcludeInnerClass.java
  28. +1 −4 test/langtools/jdk/javadoc/doclet/testIndex/pkg/AnnotationType.java
  29. +1 −2 test/langtools/jdk/javadoc/doclet/testIndex/pkg/Coin.java
  30. +1 −1 test/langtools/jdk/javadoc/doclet/testIndexFiles/TestIndexFiles.java
  31. +1 −4 test/langtools/jdk/javadoc/doclet/testLegacyTaglet/ToDoTaglet.java
  32. +1 −4 test/langtools/jdk/javadoc/doclet/testLegacyTaglet/UnderlineTaglet.java
  33. +1 −2 test/langtools/jdk/javadoc/doclet/testLinkOption/mylib/lang/StringBuilderChild.java
  34. +1 −1 test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
  35. +1 −3 test/langtools/jdk/javadoc/doclet/testModules/moduleB/testpkg3mdlB/TestClassLinkOption.java
  36. +2 −2 test/langtools/jdk/javadoc/doclet/testModules/moduletags/module-info.java
  37. +1 −4 test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/pkg/AnnotationType.java
  38. +1 −4 test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/pkg/AnnotationTypeUndocumented.java
  39. +1 −3 test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/pkg/Coin.java
  40. +1 −2 test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/pkg/TypeParameters.java
  41. +1 −3 test/langtools/jdk/javadoc/doclet/testPackageDeprecation/C2.java
  42. +23 −0 test/langtools/jdk/javadoc/doclet/testProperty/pkg/MyClassT.java
  43. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/ContaineeRegDoc.java
  44. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/ContaineeSynthDoc.java
  45. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/ContainerRegDoc.java
  46. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/ContainerRegNotDoc.java
  47. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/ContainerSynthDoc.java
  48. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/NonSynthDocContainer.java
  49. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/RegArryDoc.java
  50. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/RegContaineeDoc.java
  51. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/RegContaineeNotDoc.java
  52. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/RegContainerDoc.java
  53. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/RegContainerNotDoc.java
  54. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg/RegDoc.java
  55. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/ContaineeNotDoc.java
  56. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/ContaineeSynthDoc.java
  57. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/ContainerSynthNotDoc.java
  58. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/ContainerValDoc.java
  59. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/ContainerValNotDoc.java
  60. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/RegContaineeDoc.java
  61. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/RegContaineeNotDoc.java
  62. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/RegContainerValDoc.java
  63. +1 −3 test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/pkg1/RegContainerValNotDoc.java
  64. +3 −3 test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java
  65. +1 −4 test/langtools/jdk/javadoc/doclet/testSearch/pkg/AnnotationType.java
  66. +1 −3 test/langtools/jdk/javadoc/doclet/testSearch/pkg/AnotherClass.java
  67. +1 −3 test/langtools/jdk/javadoc/doclet/testSearch/pkg1/NestedInnerClass.java
  68. +1 −3 test/langtools/jdk/javadoc/doclet/testSearch/pkg1/PrivateIncludeInnerClass.java
  69. +1 −3 test/langtools/jdk/javadoc/doclet/testSearch/pkg1/ProtectedInnerClass.java
  70. +1 −3 test/langtools/jdk/javadoc/doclet/testSearch/pkg1/PublicExcludeInnerClass.java
  71. +1 −3 test/langtools/jdk/javadoc/doclet/testSerializedForm/pkg1/NestedInnerClass.java
  72. +1 −3 test/langtools/jdk/javadoc/doclet/testSerializedForm/pkg1/PrivateIncludeInnerClass.java
  73. +1 −3 test/langtools/jdk/javadoc/doclet/testSerializedForm/pkg1/ProtectedInnerClass.java
  74. +1 −3 test/langtools/jdk/javadoc/doclet/testSerializedForm/pkg1/PublicExcludeInnerClass.java
  75. +1 −2 test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/pkg1/C1.java
  76. +1 −2 test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/pkg1/C2.java
  77. +1 −2 test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/pkg1/C3.java
  78. +1 −2 test/langtools/jdk/javadoc/doclet/testSinceTag/pkg1/C1.java
  79. +1 −3 test/langtools/jdk/javadoc/doclet/typeAnnotations/smoke/pkg/TargetTypes.java
@@ -59,6 +59,6 @@ public void test() {
+ "<dd>JDK 1.0</dd>",
// Test multiple @author tags:
"<dt><span class=\"simpleTagLabel\">Author:</span></dt>\n"
+ "<dd>Doug Kramer, Jamie, Neal</dd>");
+ "<dd>Alice, Bob, Eve</dd>");
}
}
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2019, 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
@@ -28,9 +28,9 @@
* Testing multiple @since and @version tags only to see if all
* instances of SimpleTaglet have the same bug
*
* @author Doug Kramer
* @author Jamie
* @author Neal
* @author Alice
* @author Bob
* @author Eve
*
* @since JDK 1.0
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -27,9 +27,6 @@

/**
* This is just a test annotation type with optional value element.
*
* @author Mahmood Ali
* @since 1.5
*/
@Documented public @interface AnnotationOptional {
String value() default "";
@@ -111,7 +111,7 @@ public void testLinkSource() {
"@Documented public @interface AnnotationTypeField {");

checkOutput("pkg/AnnotationType.html", true,
"public @interface <a href=\"../src-html/pkg/AnnotationType.html#line.34"
"public @interface <a href=\"../src-html/pkg/AnnotationType.html#line.31"
+ "\">AnnotationType</a></pre>");

checkOutput("pkg/AnnotationTypeField.html", true,
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2019, 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
@@ -27,9 +27,6 @@

/**
* This is just a test annotation type.
*
* @author Jamie Ho.
* @since 1.5
*/
@Documented public @interface AnnotationType {
int value();
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2019, 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
@@ -35,7 +35,6 @@
* @bug 4197513
* @summary Javadoc does not process base class.
* @build BaseClass.java
* @author Atul M Dambalkar
*/

import java.util.Collections;
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2019, 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
@@ -27,9 +27,6 @@

/**
* This is just a test annotation type.
*
* @author Jamie Ho.
* @since 1.5
*/
@Documented public @interface AnnotationType {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2019, 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
@@ -25,8 +25,6 @@

/**
* This is a sample Enum.
*
* @author Jamie Ho
*/
public enum Coin {
Penny, Nickel, Dime;
@@ -64,7 +64,7 @@ public void testDocFilesInModulePackages() {
"In a named module acme.module and named package "
+ "<a href=\"../package-summary.html\"><code>p</code></a>.",
"\"simpleTagLabel\">Since:</",
"1940",
"forever",
// check bottom navbar
"<a href=\"../../module-summary.html\">Module</a>",
"<a href=\"../package-summary.html\">Package</a>",
@@ -101,7 +101,7 @@ public void testDocFilesInMultiModulePackagesWithRecursiveCopy() {
"In a named module acme.module and named package "
+ "<a href=\"../package-summary.html\"><code>p</code></a>.",
"\"simpleTagLabel\">Since:</",
"1940",
"forever",
// check bottom navbar
"<a href=\"../../module-summary.html\">Module</a>",
"<a href=\"../package-summary.html\">Package</a>",
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2016, 2019, 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
@@ -27,7 +27,6 @@
</head>
<body>
In a named module acme.module and named package {@link p}.
@author Wile E. Coyote
@since 1940
@since forever
</body>
</html>
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
~ Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
~ Copyright (c) 2017, 2019, 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
@@ -29,7 +29,6 @@
</head>
<body>
A named package {@link p} in a name module acme.mdle.
@author WECoyote
@since 1940
@since forever
</body>
</html>
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2017, 2019, 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
@@ -27,7 +27,6 @@
</head>
<body>
In a named module acme2.mdle and named package {@link p2}.
@author Wile E. Coyote
@since 1940
@since forever
</body>
</html>
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
~ Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
~ Copyright (c) 2017, 2019, 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
@@ -29,7 +29,6 @@
</head>
<body>
A named package {@link p2} in a name module acme2.mdle.
@author WECoyote
@since 1940
@since forever
</body>
</html>
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -29,7 +29,6 @@
/**
* A class comment for testing.
*
* @author Bhavesh Patel
* @see C2
* @since JDK1.0
*/
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -30,7 +30,6 @@
/**
* A class comment for testing.
*
* @author Bhavesh Patel
* @see C1
* @since JDK1.0
*/
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -27,9 +27,6 @@

/**
* Test Annotation class.
*
* @author Bhavesh Patel
* @since 1.5
*/
@Retention(RetentionPolicy.SOURCE)
public @interface C3 {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -28,7 +28,6 @@
/**
* Test for Serializable
*
* @author Bhavesh Patel
* @deprecated This class is no longer used.
*/
@Deprecated
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -27,8 +27,6 @@

/**
* A test class.
*
* @author Bhavesh Patel
*/
public class C1 implements I1 {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -25,8 +25,6 @@

/**
* A sample interface used to test table tags.
*
* @author Bhavesh Patel
*/
public interface I1 {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -27,8 +27,6 @@

/**
* Another test class.
*
* @author Bhavesh Patel
*/
public class C2 {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2019, 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
@@ -27,8 +27,6 @@

/**
* Test Annotation class.
*
* @author Bhavesh Patel
*/
public @interface C3 {
/**
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2019, 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
@@ -27,9 +27,6 @@

/**
* This is a test annotation type.
*
* @author Bhavesh Patel.
* @since 9
*/
@Documented public @interface AnnotationType {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2019, 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
@@ -27,8 +27,6 @@

/**
* Another test class.
*
* @author Bhavesh Patel
*/
public class AnotherClass {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2019, 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
@@ -28,8 +28,6 @@
/**
* A test class where the outer class is package private and the inner class is private
* and a nested inner class is protected.
*
* @author Bhavesh Patel
*/

class NestedInnerClass {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2019, 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
@@ -28,8 +28,6 @@
/**
* A test class where the outer class is package private and inner class
* is private which is included using the tag.
*
* @author Bhavesh Patel
*/

class PrivateIncludeInnerClass {

0 comments on commit 71da141

Please sign in to comment.
You can’t perform that action at this time.