langtools/src/share/classes/com/sun/tools/doclets/formats/html/AnnotationTypeOptionalMemberWriterImpl.java
changeset 17570 78512b2899db
parent 14542 7062120649c2
child 21008 af0b915df7cc
equal deleted inserted replaced
17569:ef80738645e2 17570:78512b2899db
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   109     }
   109     }
   110 
   110 
   111     /**
   111     /**
   112      * {@inheritDoc}
   112      * {@inheritDoc}
   113      */
   113      */
   114     public String getCaption() {
   114     public Content getCaption() {
   115         return configuration.getText("doclet.Annotation_Type_Optional_Members");
   115         return configuration.getResource("doclet.Annotation_Type_Optional_Members");
   116     }
   116     }
   117 
   117 
   118     /**
   118     /**
   119      * {@inheritDoc}
   119      * {@inheritDoc}
   120      */
   120      */