--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java 2019-12-20 15:41:26.000000000 +0000
+++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java 2019-12-20 15:41:26.000000000 +0000
@@ -61,7 +61,7 @@
* by any formatter used by javac. Among the main features provided by AbstractDiagnosticFormatter are:
*
*
- * - Provides a standard implementation of the visitor-like methods defined in the interface DiagnisticFormatter.
+ *
- Provides a standard implementation of the visitor-like methods defined in the interface DiagnosticFormatter.
* Those implementations are specifically targeting JCDiagnostic objects.
*
- Provides basic support for i18n and a method for executing all locale-dependent conversions
*
- Provides the formatting logic for rendering the arguments of a JCDiagnostic object.
@@ -85,7 +85,7 @@
private SimpleConfiguration config;
/**
- * Current depth level of the disgnostic being formatted
+ * Current depth level of the diagnostic being formatted
* (!= 0 for subdiagnostics)
*/
protected int depth = 0;