equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, 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 |
51 * |
51 * |
52 * @see java.util.ResourceBundle |
52 * @see java.util.ResourceBundle |
53 * @see java.text.MessageFormat |
53 * @see java.text.MessageFormat |
54 * @author Neal Gafter (rewrite) |
54 * @author Neal Gafter (rewrite) |
55 */ |
55 */ |
56 @Deprecated |
56 @Deprecated(since="9", forRemoval=true) |
|
57 @SuppressWarnings("removal") |
57 public class Messager extends Log implements DocErrorReporter { |
58 public class Messager extends Log implements DocErrorReporter { |
58 public static final SourcePosition NOPOS = null; |
59 public static final SourcePosition NOPOS = null; |
59 |
60 |
60 /** Get the current messager, which is also the compiler log. */ |
61 /** Get the current messager, which is also the compiler log. */ |
61 public static Messager instance0(Context context) { |
62 public static Messager instance0(Context context) { |