equal
deleted
inserted
replaced
494 } |
494 } |
495 |
495 |
496 if (doclintOpts.equals(Collections.singleton(DocLint.XMSGS_CUSTOM_PREFIX + "none"))) |
496 if (doclintOpts.equals(Collections.singleton(DocLint.XMSGS_CUSTOM_PREFIX + "none"))) |
497 return List.nil(); |
497 return List.nil(); |
498 |
498 |
|
499 String checkPackages = options.get(Option.XDOCLINT_PACKAGE); |
|
500 |
|
501 if (checkPackages != null) { |
|
502 for (String s : checkPackages.split("\\s+")) { |
|
503 doclintOpts.add(s.replace(Option.XDOCLINT_PACKAGE.text, DocLint.XCHECK_PACKAGE)); |
|
504 } |
|
505 } |
|
506 |
499 // standard doclet normally generates H1, H2, |
507 // standard doclet normally generates H1, H2, |
500 // so for now, allow user comments to assume that |
508 // so for now, allow user comments to assume that |
501 doclintOpts.add(DocLint.XIMPLICIT_HEADERS + "2"); |
509 doclintOpts.add(DocLint.XIMPLICIT_HEADERS + "2"); |
502 |
510 |
503 return List.from(doclintOpts.toArray(new String[doclintOpts.size()])); |
511 return List.from(doclintOpts.toArray(new String[doclintOpts.size()])); |