src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java

changeset 1735
8ea30d59ac41
parent 1410
bfec2a1cc869
child 1736
74cd21f2c2fe
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java	Fri May 10 15:15:50 2013 +0200
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java	Tue May 14 10:14:51 2013 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -247,7 +247,7 @@
    1.11          result += throwsTag.exceptionType() == null ?
    1.12              htmlWriter.codeText(throwsTag.exceptionName()) :
    1.13              htmlWriter.codeText(
    1.14 -                htmlWriter.getLink(new LinkInfoImpl(configuration, LinkInfoImpl.CONTEXT_MEMBER,
    1.15 +                htmlWriter.getLink(new LinkInfoImpl(configuration, LinkInfoImpl.Kind.MEMBER,
    1.16                  throwsTag.exceptionType())));
    1.17          TagletOutput text = new TagletOutputImpl(
    1.18              htmlWriter.commentTagsToString(throwsTag, null,
    1.19 @@ -265,7 +265,7 @@
    1.20      public TagletOutput throwsTagOutput(Type throwsType) {
    1.21          return new TagletOutputImpl(DocletConstants.NL + "<dd>" +
    1.22              htmlWriter.codeText(htmlWriter.getLink(
    1.23 -                new LinkInfoImpl(configuration, LinkInfoImpl.CONTEXT_MEMBER, throwsType))) + "</dd>");
    1.24 +                new LinkInfoImpl(configuration, LinkInfoImpl.Kind.MEMBER, throwsType))) + "</dd>");
    1.25      }
    1.26  
    1.27      /**
    1.28 @@ -274,7 +274,7 @@
    1.29      public TagletOutput valueTagOutput(FieldDoc field, String constantVal,
    1.30              boolean includeLink) {
    1.31          return new TagletOutputImpl(includeLink ?
    1.32 -            htmlWriter.getDocLink(LinkInfoImpl.CONTEXT_VALUE_TAG, field,
    1.33 +            htmlWriter.getDocLink(LinkInfoImpl.Kind.VALUE_TAG, field,
    1.34                  constantVal, false) : constantVal);
    1.35      }
    1.36  

mercurial