< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java

Print this page

        

@@ -59,11 +59,11 @@
 /**
  * This abstract class provides a basic implementation of the functionalities that should be provided
  * by any formatter used by javac. Among the main features provided by AbstractDiagnosticFormatter are:
  *
  * <ul>
- *  <li> Provides a standard implementation of the visitor-like methods defined in the interface DiagnisticFormatter.
+ *  <li> Provides a standard implementation of the visitor-like methods defined in the interface DiagnosticFormatter.
  *  Those implementations are specifically targeting JCDiagnostic objects.
  *  <li> Provides basic support for i18n and a method for executing all locale-dependent conversions
  *  <li> Provides the formatting logic for rendering the arguments of a JCDiagnostic object.
  * </ul>
  *

@@ -83,11 +83,11 @@
      * Configuration object used by this formatter
      */
     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;
 
     /**
< prev index next >