src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java

changeset 198
b4b1f7732289
parent 137
e4eaddca54b7
child 221
6ada6122dd4f
equal deleted inserted replaced
197:1bf037016426 198:b4b1f7732289
59 * Create a basic formatter based on the supplied options. 59 * Create a basic formatter based on the supplied options.
60 * 60 *
61 * @param opts list of command-line options 61 * @param opts list of command-line options
62 * @param msgs JavacMessages object used for i18n 62 * @param msgs JavacMessages object used for i18n
63 */ 63 */
64 @SuppressWarnings("fallthrough")
64 BasicDiagnosticFormatter(Options opts, JavacMessages msgs) { 65 BasicDiagnosticFormatter(Options opts, JavacMessages msgs) {
65 super(msgs, opts, true); 66 super(msgs, opts, true);
66 initAvailableFormats(); 67 initAvailableFormats();
67 String fmt = opts.get("diags"); 68 String fmt = opts.get("diags");
68 if (fmt != null) { 69 if (fmt != null) {

mercurial