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

changeset 1415
01c9d4161882
parent 798
4868a36f6fd8
child 2525
2eb010b6cb22
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
37 * If you write code that depends on this, you do so at your own risk. 37 * If you write code that depends on this, you do so at your own risk.
38 * This code and its internal interfaces are subject to change or 38 * This code and its internal interfaces are subject to change or
39 * deletion without notice.</b> 39 * deletion without notice.</b>
40 */ 40 */
41 public class Warner { 41 public class Warner {
42 public static final Warner noWarnings = new Warner();
43 42
44 private DiagnosticPosition pos = null; 43 private DiagnosticPosition pos = null;
45 protected boolean warned = false; 44 protected boolean warned = false;
46 private EnumSet<LintCategory> nonSilentLintSet = EnumSet.noneOf(LintCategory.class); 45 private EnumSet<LintCategory> nonSilentLintSet = EnumSet.noneOf(LintCategory.class);
47 private EnumSet<LintCategory> silentLintSet = EnumSet.noneOf(LintCategory.class); 46 private EnumSet<LintCategory> silentLintSet = EnumSet.noneOf(LintCategory.class);

mercurial