Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/VariableDeclaration.java

Issue 10700082: Comment clean-up (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/VariableDeclaration.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/VariableDeclaration.java (revision 9355)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/VariableDeclaration.java (working copy)
@@ -16,13 +16,13 @@
import com.google.dart.engine.scanner.Token;
/**
- * Instances of the class <code>VariableDeclaration</code> represent an identifier that has an
- * initial value associated with it. Instances of this class are always children of the class
+ * Instances of the class {@code VariableDeclaration} represent an identifier that has an initial
+ * value associated with it. Instances of this class are always children of the class
* {@link VariableDeclarationList}.
*
* <pre>
* variableDeclaration ::=
- * {@link SimpleIdentifier identifier} '=' {@link Expression initialValue}
+ * {@link SimpleIdentifier identifier} ('=' {@link Expression initialValue})?
* </pre>
*/
public class VariableDeclaration extends Declaration {
@@ -32,13 +32,13 @@
private SimpleIdentifier name;
/**
- * The equal sign separating the variable name from the initial value, or <code>null</code> if the
+ * The equal sign separating the variable name from the initial value, or {@code null} if the
* initial value was not specified.
*/
private Token equals;
/**
- * The expression used to compute the initial value for the variable, or <code>null</code> if the
+ * The expression used to compute the initial value for the variable, or {@code null} if the
* initial value was not specified.
*/
private Expression initializer;
@@ -84,8 +84,8 @@
}
/**
- * Return the equal sign separating the variable name from the initial value, or <code>null</code>
- * if the initial value was not specified.
+ * Return the equal sign separating the variable name from the initial value, or {@code null} if
+ * the initial value was not specified.
*
* @return the equal sign separating the variable name from the initial value
*/
@@ -94,8 +94,8 @@
}
/**
- * Return the expression used to compute the initial value for the variable, or <code>null</code>
- * if the initial value was not specified.
+ * Return the expression used to compute the initial value for the variable, or {@code null} if
+ * the initial value was not specified.
*
* @return the expression used to compute the initial value for the variable
*/

Powered by Google App Engine
This is Rietveld 408576698