langtools/src/share/classes/com/sun/tools/doclets/formats/html/ConstantsSummaryWriterImpl.java
author mcimadamore
Tue, 13 Jan 2009 13:27:14 +0000
changeset 1789 7ac8c0815000
parent 1787 1aa079321cd2
child 2320 5b8c377175f4
permissions -rw-r--r--
6765045: Remove rawtypes warnings from langtools Summary: Removed all occurrences of rawtypes warnings from langtools Reviewed-by: jjg, bpatel
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
1264
076a3cde30d5 6754988: Update copyright year
xdono
parents: 868
diff changeset
     2
 * Copyright 2001-2008 Sun Microsystems, Inc.  All Rights Reserved.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
 * have any questions.
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
package com.sun.tools.doclets.formats.html;
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
import com.sun.tools.doclets.internal.toolkit.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
import com.sun.tools.doclets.internal.toolkit.util.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
import com.sun.javadoc.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
import java.io.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
import java.util.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
/**
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
 * Write the Constants Summary Page in HTML format.
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
 * @author Jamie Ho
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
 * @since 1.4
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
public class ConstantsSummaryWriterImpl extends HtmlDocletWriter
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
        implements ConstantsSummaryWriter {
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
     * The configuration used in this run of the standard doclet.
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
    ConfigurationImpl configuration;
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
     * The current class being documented.
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
    private ClassDoc currentClassDoc;
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
     * Construct a ConstantsSummaryWriter.
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
     * @param configuration the configuration used in this run
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
     *        of the standard doclet.
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
    public ConstantsSummaryWriterImpl(ConfigurationImpl configuration)
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
            throws IOException {
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
        super(configuration, ConfigurationImpl.CONSTANTS_FILE_NAME);
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
        this.configuration = configuration;
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
    public void writeHeader() {
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
        printHtmlHeader(configuration.getText("doclet.Constants_Summary"),
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
            null, true);
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
        printTop();
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
        navLinks(true);
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
        hr();
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
        center();
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
        h1(); printText("doclet.Constants_Summary"); h1End();
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
        centerEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
        hr(4, "noshade");
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
    public void writeFooter() {
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
        hr();
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
        navLinks(false);
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
        printBottom();
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
        printBodyHtmlEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
    93
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    94
    public void writeContentsHeader() {
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 1264
diff changeset
    95
        strong(configuration.getText("doclet.Contents"));
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
        ul();
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
    public void writeContentsFooter() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
        ulEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
        println();
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   109
     */
868
d0f233085cbb 6657907: javadoc has unchecked warnings
jjg
parents: 10
diff changeset
   110
    public void writeLinkToPackageContent(PackageDoc pkg, String parsedPackageName, Set<String> printedPackageHeaders) {
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
        String packageName = pkg.name();
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
        //add link to summary
06bc494ca11e Initial load
duke
parents:
diff changeset
   113
        li();
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
        if (packageName.length() == 0) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
            printHyperLink("#" + DocletConstants.UNNAMED_PACKAGE_ANCHOR,
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
                           DocletConstants.DEFAULT_PACKAGE_NAME);
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
        } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
            printHyperLink("#" + parsedPackageName, parsedPackageName + ".*");
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
            printedPackageHeaders.add(parsedPackageName);
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
        println();
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   126
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
    public void writeConstantMembersHeader(ClassDoc cd) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
        //generate links backward only to public classes.
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
        String classlink = (cd.isPublic() || cd.isProtected())?
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
            getLink(new LinkInfoImpl(LinkInfoImpl.CONTEXT_CONSTANT_SUMMARY, cd,
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
                false)) :
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
            cd.qualifiedName();
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
        String name = cd.containingPackage().name();
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
        if (name.length() > 0) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
            writeClassName(name + "." + classlink);
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
        } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
            writeClassName(classlink);
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
06bc494ca11e Initial load
duke
parents:
diff changeset
   141
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   143
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
    public void writeConstantMembersFooter(ClassDoc cd) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
        tableFooter(false);
06bc494ca11e Initial load
duke
parents:
diff changeset
   146
        p();
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   148
06bc494ca11e Initial load
duke
parents:
diff changeset
   149
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   150
     * Print the class name in the table heading.
06bc494ca11e Initial load
duke
parents:
diff changeset
   151
     * @param classStr the heading to print.
06bc494ca11e Initial load
duke
parents:
diff changeset
   152
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   153
    protected void writeClassName(String classStr) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   154
        table(1, 3, 0);
06bc494ca11e Initial load
duke
parents:
diff changeset
   155
        trBgcolorStyle("#EEEEFF", "TableSubHeadingColor");
06bc494ca11e Initial load
duke
parents:
diff changeset
   156
        thAlignColspan("left", 3);
06bc494ca11e Initial load
duke
parents:
diff changeset
   157
        write(classStr);
06bc494ca11e Initial load
duke
parents:
diff changeset
   158
        thEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   159
        trEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   160
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   161
06bc494ca11e Initial load
duke
parents:
diff changeset
   162
    private void tableFooter(boolean isHeader) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   163
        fontEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
        if (isHeader) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   165
            thEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   166
        } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   167
            tdEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   168
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   169
        trEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   170
        tableEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
        p();
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   173
06bc494ca11e Initial load
duke
parents:
diff changeset
   174
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   177
    public void writePackageName(PackageDoc pkg, String parsedPackageName) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   178
        String pkgname;
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
        if (parsedPackageName.length() == 0) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   180
            anchor(DocletConstants.UNNAMED_PACKAGE_ANCHOR);
06bc494ca11e Initial load
duke
parents:
diff changeset
   181
            pkgname = DocletConstants.DEFAULT_PACKAGE_NAME;
06bc494ca11e Initial load
duke
parents:
diff changeset
   182
        } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   183
            anchor(parsedPackageName);
06bc494ca11e Initial load
duke
parents:
diff changeset
   184
            pkgname = parsedPackageName;
06bc494ca11e Initial load
duke
parents:
diff changeset
   185
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   186
        table(1, "100%", 3, 0);
06bc494ca11e Initial load
duke
parents:
diff changeset
   187
        trBgcolorStyle("#CCCCFF", "TableHeadingColor");
06bc494ca11e Initial load
duke
parents:
diff changeset
   188
        thAlign("left");
06bc494ca11e Initial load
duke
parents:
diff changeset
   189
        font("+2");
06bc494ca11e Initial load
duke
parents:
diff changeset
   190
        write(pkgname + ".*");
06bc494ca11e Initial load
duke
parents:
diff changeset
   191
        tableFooter(true);
06bc494ca11e Initial load
duke
parents:
diff changeset
   192
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   193
06bc494ca11e Initial load
duke
parents:
diff changeset
   194
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   195
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   196
     */
1789
7ac8c0815000 6765045: Remove rawtypes warnings from langtools
mcimadamore
parents: 1787
diff changeset
   197
    public void writeConstantMembers(ClassDoc cd, List<FieldDoc> fields) {
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   198
        currentClassDoc = cd;
06bc494ca11e Initial load
duke
parents:
diff changeset
   199
        for (int i = 0; i < fields.size(); ++i) {
1789
7ac8c0815000 6765045: Remove rawtypes warnings from langtools
mcimadamore
parents: 1787
diff changeset
   200
            writeConstantMember(fields.get(i));
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   201
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   202
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   203
06bc494ca11e Initial load
duke
parents:
diff changeset
   204
    private void writeConstantMember(FieldDoc member) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   205
        trBgcolorStyle("white", "TableRowColor");
06bc494ca11e Initial load
duke
parents:
diff changeset
   206
        anchor(currentClassDoc.qualifiedName() + "." + member.name());
06bc494ca11e Initial load
duke
parents:
diff changeset
   207
        writeTypeColumn(member);
06bc494ca11e Initial load
duke
parents:
diff changeset
   208
        writeNameColumn(member);
06bc494ca11e Initial load
duke
parents:
diff changeset
   209
        writeValue(member);
06bc494ca11e Initial load
duke
parents:
diff changeset
   210
        trEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   211
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   212
06bc494ca11e Initial load
duke
parents:
diff changeset
   213
    private void writeTypeColumn(FieldDoc member) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   214
        tdAlign("right");
06bc494ca11e Initial load
duke
parents:
diff changeset
   215
        font("-1");
06bc494ca11e Initial load
duke
parents:
diff changeset
   216
        code();
06bc494ca11e Initial load
duke
parents:
diff changeset
   217
        StringTokenizer mods = new StringTokenizer(member.modifiers());
06bc494ca11e Initial load
duke
parents:
diff changeset
   218
        while(mods.hasMoreTokens()) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   219
            print(mods.nextToken() + "&nbsp;");
06bc494ca11e Initial load
duke
parents:
diff changeset
   220
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   221
        printLink(new LinkInfoImpl(LinkInfoImpl.CONTEXT_CONSTANT_SUMMARY,
06bc494ca11e Initial load
duke
parents:
diff changeset
   222
            member.type()));
06bc494ca11e Initial load
duke
parents:
diff changeset
   223
        codeEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   224
        fontEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   225
        tdEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   226
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   227
06bc494ca11e Initial load
duke
parents:
diff changeset
   228
    private void writeNameColumn(FieldDoc member) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   229
        tdAlign("left");
06bc494ca11e Initial load
duke
parents:
diff changeset
   230
        code();
06bc494ca11e Initial load
duke
parents:
diff changeset
   231
        printDocLink(LinkInfoImpl.CONTEXT_CONSTANT_SUMMARY, member,
06bc494ca11e Initial load
duke
parents:
diff changeset
   232
            member.name(), false);
06bc494ca11e Initial load
duke
parents:
diff changeset
   233
        codeEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   234
        tdEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   235
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   236
06bc494ca11e Initial load
duke
parents:
diff changeset
   237
    private void writeValue(FieldDoc member) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
        tdAlign("right");
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
        code();
06bc494ca11e Initial load
duke
parents:
diff changeset
   240
        print(Util.escapeHtmlChars(member.constantValueExpression()));
06bc494ca11e Initial load
duke
parents:
diff changeset
   241
        codeEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
        tdEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   243
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   244
}