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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/os/OSUtilities.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/utilities/os/OSUtilities.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/os/OSUtilities.java (revision 9355)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/os/OSUtilities.java (working copy)
@@ -14,8 +14,8 @@
package com.google.dart.engine.utilities.os;
/**
- * The class <code>OSUtilities</code> implements utility methods used to determine which operating
- * system we are running on.
+ * The class {@code OSUtilities} implements utility methods used to determine which operating system
+ * we are running on.
*/
public final class OSUtilities {
/**
@@ -35,28 +35,28 @@
private static final String OS_PROPERTY_NAME = "os.name"; //$NON-NLS-1$
/**
- * Return <code>true</code> if we are running on a Linux OS. This method currently assumes that
- * there are only three possible operating systems: Linux, Macintosh, and Windows.
+ * Return {@code true} if we are running on a Linux OS. This method currently assumes that there
+ * are only three possible operating systems: Linux, Macintosh, and Windows.
*
- * @return <code>true</code> if we are running on Linux
+ * @return {@code true} if we are running on Linux
*/
public static boolean isLinux() {
return !isMac() && !isWindows();
}
/**
- * Return <code>true</code> if we are running on a Macintosh OS.
+ * Return {@code true} if we are running on a Macintosh OS.
*
- * @return <code>true</code> if we are running on a Mac
+ * @return {@code true} if we are running on a Mac
*/
public static boolean isMac() {
return System.getProperty(OS_PROPERTY_NAME).toLowerCase().startsWith(OS_PREFIX_MAC);
}
/**
- * Return <code>true</code> if we are running on a Windows OS.
+ * Return {@code true} if we are running on a Windows OS.
*
- * @return <code>true</code> if we are running on Windows
+ * @return {@code true} if we are running on Windows
*/
public static boolean isWindows() {
return System.getProperty(OS_PROPERTY_NAME).toLowerCase().startsWith(OS_PREFIX_WIN);

Powered by Google App Engine
This is Rietveld 408576698