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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Comment.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/Comment.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Comment.java (revision 9355)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Comment.java (working copy)
@@ -19,7 +19,7 @@
import java.util.List;
/**
- * Instances of the class <code>Comment</code> represent a comment within the source code.
+ * Instances of the class {@code Comment} represent a comment within the source code.
*
* <pre>
* comment ::=
@@ -40,7 +40,7 @@
*/
public class Comment extends ASTNode {
/**
- * The enumeration <code>CommentType</code> encodes all the different types of comments that are
+ * The enumeration {@code CommentType} encodes all the different types of comments that are
* recognized by the parser.
*/
private enum CommentType {
@@ -155,27 +155,27 @@
}
/**
- * Return <code>true</code> if this is a block comment.
+ * Return {@code true} if this is a block comment.
*
- * @return <code>true</code> if this is a block comment
+ * @return {@code true} if this is a block comment
*/
public boolean isBlock() {
return type == CommentType.BLOCK;
}
/**
- * Return <code>true</code> if this is a documentation comment.
+ * Return {@code true} if this is a documentation comment.
*
- * @return <code>true</code> if this is a documentation comment
+ * @return {@code true} if this is a documentation comment
*/
public boolean isDocumentation() {
return type == CommentType.DOCUMENTATION;
}
/**
- * Return <code>true</code> if this is an end-of-line comment.
+ * Return {@code true} if this is an end-of-line comment.
*
- * @return <code>true</code> if this is an end-of-line comment
+ * @return {@code true} if this is an end-of-line comment
*/
public boolean isEndOfLine() {
return type == CommentType.END_OF_LINE;

Powered by Google App Engine
This is Rietveld 408576698