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

changeset 1324
fa85af323d97
parent 997
dbc4ced9d171
child 1357
c75be5bc5283
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java	Thu Sep 06 17:28:10 2012 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java	Sat Sep 08 22:43:38 2012 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 2012, 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 @@ -227,46 +227,44 @@
    1.11              String[] os = options[oi];
    1.12              String opt = os[0].toLowerCase();
    1.13              if (opt.equals("-footer")) {
    1.14 -                footer =  os[1];
    1.15 -            } else  if (opt.equals("-header")) {
    1.16 -                header =  os[1];
    1.17 -            } else  if (opt.equals("-packagesheader")) {
    1.18 -                packagesheader =  os[1];
    1.19 -            } else  if (opt.equals("-doctitle")) {
    1.20 -                doctitle =  os[1];
    1.21 -            } else  if (opt.equals("-windowtitle")) {
    1.22 -                windowtitle =  os[1];
    1.23 -            } else  if (opt.equals("-top")) {
    1.24 -                top =  os[1];
    1.25 -            } else  if (opt.equals("-bottom")) {
    1.26 -                bottom =  os[1];
    1.27 -            } else  if (opt.equals("-helpfile")) {
    1.28 -                helpfile =  os[1];
    1.29 -            } else  if (opt.equals("-stylesheetfile")) {
    1.30 -                stylesheetfile =  os[1];
    1.31 -            } else  if (opt.equals("-charset")) {
    1.32 -                charset =  os[1];
    1.33 +                footer = os[1];
    1.34 +            } else if (opt.equals("-header")) {
    1.35 +                header = os[1];
    1.36 +            } else if (opt.equals("-packagesheader")) {
    1.37 +                packagesheader = os[1];
    1.38 +            } else if (opt.equals("-doctitle")) {
    1.39 +                doctitle = os[1];
    1.40 +            } else if (opt.equals("-windowtitle")) {
    1.41 +                windowtitle = os[1];
    1.42 +            } else if (opt.equals("-top")) {
    1.43 +                top = os[1];
    1.44 +            } else if (opt.equals("-bottom")) {
    1.45 +                bottom = os[1];
    1.46 +            } else if (opt.equals("-helpfile")) {
    1.47 +                helpfile = os[1];
    1.48 +            } else if (opt.equals("-stylesheetfile")) {
    1.49 +                stylesheetfile = os[1];
    1.50 +            } else if (opt.equals("-charset")) {
    1.51 +                charset = os[1];
    1.52              } else if (opt.equals("-xdocrootparent")) {
    1.53                  docrootparent = os[1];
    1.54 -            } else  if (opt.equals("-nohelp")) {
    1.55 +            } else if (opt.equals("-nohelp")) {
    1.56                  nohelp = true;
    1.57 -            } else  if (opt.equals("-splitindex")) {
    1.58 +            } else if (opt.equals("-splitindex")) {
    1.59                  splitindex = true;
    1.60 -            } else  if (opt.equals("-noindex")) {
    1.61 +            } else if (opt.equals("-noindex")) {
    1.62                  createindex = false;
    1.63 -            } else  if (opt.equals("-use")) {
    1.64 +            } else if (opt.equals("-use")) {
    1.65                  classuse = true;
    1.66 -            } else  if (opt.equals("-notree")) {
    1.67 +            } else if (opt.equals("-notree")) {
    1.68                  createtree = false;
    1.69 -            } else  if (opt.equals("-nodeprecatedlist")) {
    1.70 +            } else if (opt.equals("-nodeprecatedlist")) {
    1.71                  nodeprecatedlist = true;
    1.72 -            } else  if (opt.equals("-nosince")) {
    1.73 -                nosince = true;
    1.74 -            } else  if (opt.equals("-nonavbar")) {
    1.75 +            } else if (opt.equals("-nonavbar")) {
    1.76                  nonavbar = true;
    1.77 -            } else  if (opt.equals("-nooverview")) {
    1.78 +            } else if (opt.equals("-nooverview")) {
    1.79                  nooverview = true;
    1.80 -            } else  if (opt.equals("-overview")) {
    1.81 +            } else if (opt.equals("-overview")) {
    1.82                  overview = true;
    1.83              }
    1.84          }

mercurial