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) { |