langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocument.java
equal
deleted
inserted
replaced
52 * @param docType document type for the HTML document |
52 * @param docType document type for the HTML document |
53 * @param docComment comment for the document |
53 * @param docComment comment for the document |
54 * @param htmlTree HTML tree of the document |
54 * @param htmlTree HTML tree of the document |
55 */ |
55 */ |
56 public HtmlDocument(Content docType, Content docComment, Content htmlTree) { |
56 public HtmlDocument(Content docType, Content docComment, Content htmlTree) { |
57 docContent = new ArrayList<Content>(); |
57 docContent = new ArrayList<>(); |
58 addContent(nullCheck(docType)); |
58 addContent(nullCheck(docType)); |
59 addContent(nullCheck(docComment)); |
59 addContent(nullCheck(docComment)); |
60 addContent(nullCheck(htmlTree)); |
60 addContent(nullCheck(htmlTree)); |
61 } |
61 } |
62 |
62 |
65 * |
65 * |
66 * @param docType document type for the HTML document |
66 * @param docType document type for the HTML document |
67 * @param htmlTree HTML tree of the document |
67 * @param htmlTree HTML tree of the document |
68 */ |
68 */ |
69 public HtmlDocument(Content docType, Content htmlTree) { |
69 public HtmlDocument(Content docType, Content htmlTree) { |
70 docContent = new ArrayList<Content>(); |
70 docContent = new ArrayList<>(); |
71 addContent(nullCheck(docType)); |
71 addContent(nullCheck(docType)); |
72 addContent(nullCheck(htmlTree)); |
72 addContent(nullCheck(htmlTree)); |
73 } |
73 } |
74 |
74 |
75 /** |
75 /** |