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

changeset 1442
fcf89720ae71
parent 798
4868a36f6fd8
child 2525
2eb010b6cb22
equal deleted inserted replaced
1441:c78acf6c2f3e 1442:fcf89720ae71
1 /* 1 /*
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
89 ADDITIONAL_IN_FILES(".plural.additional"); 89 ADDITIONAL_IN_FILES(".plural.additional");
90 90
91 DeferredDiagnosticKind(String v) { value = v; } 91 DeferredDiagnosticKind(String v) { value = v; }
92 String getKey(String prefix) { return prefix + value; } 92 String getKey(String prefix) { return prefix + value; }
93 93
94 private String value; 94 private final String value;
95 } 95 }
96 96
97 97
98 /** 98 /**
99 * Create a handler for mandatory warnings. 99 * Create a handler for mandatory warnings.

mercurial