File tree Expand file tree Collapse file tree 2 files changed +14
-18
lines changed
unicodetools/src/main/java/org/unicode/text/UCA Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -385,17 +385,8 @@ public static void main(String[] args) throws Exception {
385385 }
386386 }
387387 finishItem (out );
388- out .println (
389- "</table>\n "
390- + "\n "
391- + "<hr width=\" 50%\" >\n "
392- + "\n "
393- + "<p class=\" copyright\" >© 2003–2024 Unicode, Inc.\n "
394- + "Unicode and the Unicode Logo are registered trademarks of Unicode, Inc.,\n "
395- + "in the U.S. and other countries. See "
396- + "<a href=\" https://www.unicode.org/copyright.html\" >Terms of Use</a>.</p>\n "
397- + "</body>\n "
398- + "</html>" );
388+ out .println ("</table>\n " );
389+ WriteCharts .printCopyrightFooter (out );
399390 out .close ();
400391 }
401392 blockInfo .in .close ();
Original file line number Diff line number Diff line change 1717import java .io .PrintWriter ;
1818import java .text .NumberFormat ;
1919import java .text .SimpleDateFormat ;
20+ import java .time .Year ;
2021import java .util .ArrayList ;
2122import java .util .Arrays ;
2223import java .util .HashMap ;
@@ -1068,19 +1069,23 @@ static void closeFile(PrintWriter output) {
10681069 }
10691070 indexFile .println ("<a href = '" + indexAttributes + "'>" + indexAnchorText + "</a><br>\n " );
10701071 indexHasNew = false ;
1072+ output .println ("</table>\n " );
1073+ printCopyrightFooter (output );
1074+ output .close ();
1075+ }
1076+
1077+ static void printCopyrightFooter (PrintWriter output ) {
10711078 output .println (
1072- "</table>\n "
1073- + "\n "
1074- + "<hr width=\" 50%\" >\n "
1075- + "\n "
1076- + "<p class=\" copyright\" >© 2003–2025 Unicode, Inc.\n "
1079+ "<hr width=\" 50%\" >\n \n "
1080+ + "<p class=\" copyright\" >© 2003–"
1081+ + Year .now ()
1082+ + " Unicode, Inc.\n "
10771083 + "Unicode and the Unicode Logo are registered trademarks of Unicode, Inc.,\n "
1078- + "in the U.S. and other countries. "
1084+ + "in the U.S. and other countries.\n "
10791085 + "For terms of use and license, "
10801086 + "see <a href=\" https://www.unicode.org/terms_of_use.html\" >https://www.unicode.org/terms_of_use.html</a>.</p>\n "
10811087 + "</body>\n "
10821088 + "</html>" );
1083- output .close ();
10841089 }
10851090
10861091 static final int NULL_ORDER = -7 ,
You can’t perform that action at this time.
0 commit comments