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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ConditionalExpression.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/ConditionalExpression.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ConditionalExpression.java (revision 9355)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ConditionalExpression.java (working copy)
@@ -16,7 +16,7 @@
import com.google.dart.engine.scanner.Token;
/**
- * Instances of the class <code>ConditionalExpression</code> represent a conditional expression.
+ * Instances of the class {@code ConditionalExpression} represent a conditional expression.
*
* <pre>
* conditionalExpression ::=
@@ -35,7 +35,7 @@
private Token question;
/**
- * The expression that is executed if the condition evaluates to <code>true</code>.
+ * The expression that is executed if the condition evaluates to {@code true}.
*/
private Expression thenExpression;
@@ -45,7 +45,7 @@
private Token colon;
/**
- * The expression that is executed if the condition evaluates to <code>false</code>.
+ * The expression that is executed if the condition evaluates to {@code false}.
*/
private Expression elseExpression;
@@ -61,10 +61,10 @@
* @param condition the condition used to determine which expression is executed next
* @param question the token used to separate the condition from the then expression
* @param thenExpression the expression that is executed if the condition evaluates to
- * <code>true</code>
+ * {@code true}
* @param colon the token used to separate the then expression from the else expression
* @param elseExpression the expression that is executed if the condition evaluates to
- * <code>false</code>
+ * {@code false}
*/
public ConditionalExpression(Expression condition, Token question, Expression thenExpression,
Token colon, Expression elseExpression) {
@@ -104,9 +104,9 @@
}
/**
- * Return the expression that is executed if the condition evaluates to <code>false</code>.
+ * Return the expression that is executed if the condition evaluates to {@code false}.
*
- * @return the expression that is executed if the condition evaluates to <code>false</code>
+ * @return the expression that is executed if the condition evaluates to {@code false}
*/
public Expression getElseExpression() {
return elseExpression;
@@ -127,9 +127,9 @@
}
/**
- * Return the expression that is executed if the condition evaluates to <code>true</code>.
+ * Return the expression that is executed if the condition evaluates to {@code true}.
*
- * @return the expression that is executed if the condition evaluates to <code>true</code>
+ * @return the expression that is executed if the condition evaluates to {@code true}
*/
public Expression getThenExpression() {
return thenExpression;
@@ -155,11 +155,10 @@
}
/**
- * Set the expression that is executed if the condition evaluates to <code>false</code> to the
- * given expression.
+ * Set the expression that is executed if the condition evaluates to {@code false} to the given
+ * expression.
*
- * @param expression the expression that is executed if the condition evaluates to
- * <code>false</code>
+ * @param expression the expression that is executed if the condition evaluates to {@code false}
*/
public void setElseExpression(Expression expression) {
elseExpression = becomeParentOf(expression);
@@ -175,11 +174,10 @@
}
/**
- * Set the expression that is executed if the condition evaluates to <code>true</code> to the
- * given expression.
+ * Set the expression that is executed if the condition evaluates to {@code true} to the given
+ * expression.
*
- * @param expression the expression that is executed if the condition evaluates to
- * <code>true</code>
+ * @param expression the expression that is executed if the condition evaluates to {@code true}
*/
public void setThenExpression(Expression expression) {
thenExpression = becomeParentOf(expression);

Powered by Google App Engine
This is Rietveld 408576698