8293178: Remove obsolete properties from javadoc resource file

Reviewed-by: prappo
This commit is contained in:
Jonathan Gibbons 2022-08-31 22:11:20 +00:00
parent dd5415309a
commit 6f297346dc
2 changed files with 4 additions and 10 deletions

View File

@ -316,10 +316,6 @@ main.not_a_doclet=\
javadoc.class_not_found=Class {0} not found.
javadoc.error.msg={0}: error - {1}
javadoc.warning.msg={0}: warning - {1}
javadoc.note.msg = {1}
javadoc.note.pos.msg= {0}: {1}
javadoc.version={0} {1}
javadoc.fullversion={0} full version "{1}"

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -228,11 +228,9 @@ public class CheckResourceKeys {
// special handling for code strings synthesized in
// jdk.javadoc.internal.tool.JavadocLog
results.add("javadoc.error.msg");
results.add("javadoc.note.msg");
results.add("javadoc.note.pos.msg");
results.add("javadoc.warning.msg");
// see JavadocLog report(DiagnosticType dt, Set<DiagnosticFlag> flags,
// DiagnosticSource ds, DiagnosticPosition dp, String message)
// line: report(javadocDiags.create(dt, null, flags, ds, dp, "message", message));
results.add("javadoc.err.message");
results.add("javadoc.warn.message");
results.add("javadoc.note.message");