Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8254633

minor issues in DeprecatedListWriter

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      From DeprecatedListWriter:

      Note REMOVAL -> "doclet.Element"
      Note inconsistent singular/plural


      private String getHeaderKey(DeprElementKind kind) {
              switch (kind) {
                  case REMOVAL:
                      return "doclet.Element";
                  case MODULE:
                      return "doclet.Module";
                  case PACKAGE:
                      return "doclet.Package";
                  case INTERFACE:
                      return "doclet.Interface";
                  case CLASS:
                      return "doclet.Class";
                  case ENUM:
                      return "doclet.Enum";
                  case EXCEPTION:
                      return "doclet.Exceptions";
                  case ERROR:
                      return "doclet.Errors";
                  case ANNOTATION_TYPE:
                      return "doclet.AnnotationType";
                  case FIELD:
                      return "doclet.Field";
                  case METHOD:
                      return "doclet.Method";
                  case CONSTRUCTOR:
                      return "doclet.Constructor";
                  case ENUM_CONSTANT:
                      return "doclet.Enum_Constant";
                  case ANNOTATION_TYPE_MEMBER:
                      return "doclet.Annotation_Type_Member";
                  default:
                      throw new AssertionError("unknown kind: " + kind);
              }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: