1.1 --- a/src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java Tue Oct 09 19:10:00 2012 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java Tue Oct 09 19:31:58 2012 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -69,7 +69,7 @@ 1.11 /** 1.12 * Create a basic formatter based on the supplied options. 1.13 * 1.14 - * @param opts list of command-line options 1.15 + * @param options list of command-line options 1.16 * @param msgs JavacMessages object used for i18n 1.17 */ 1.18 public BasicDiagnosticFormatter(Options options, JavacMessages msgs) { 1.19 @@ -329,7 +329,7 @@ 1.20 * Set the indentation level for various element of a given diagnostic - 1.21 * this might lead to more readable diagnostics 1.22 * 1.23 - * @param indentationKind kind of indentation to be set 1.24 + * @param diagPart 1.25 * @param nSpaces amount of spaces for the specified diagnostic part 1.26 */ 1.27 public void setIndentation(DiagnosticPart diagPart, int nSpaces) { 1.28 @@ -384,7 +384,7 @@ 1.29 /** 1.30 * Get a metachar string for a specific format 1.31 * 1.32 - * @param sourcePos a positioning value for source line 1.33 + * @param kind the format kind for which to get the metachar string 1.34 */ 1.35 public String getFormat(BasicFormatKind kind) { 1.36 return availableFormats.get(kind);