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

Unified Diff: sdk/lib/io/socket.dart

Issue 140783013: use proper notation for true, false, and null in doc comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: long line Created 6 years, 11 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
« no previous file with comments | « sdk/lib/io/http.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index 35e646a720d7b8aae3bc1106bed6a16221e64174..932fb97a319b309439d7c379a998c2fa416617bf 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -359,13 +359,13 @@ class RawSocketEvent {
abstract class RawSocket implements Stream<RawSocketEvent> {
/**
* Set or get, if the [RawSocket] should listen for [RawSocketEvent.READ]
- * events. Default is [true].
+ * events. Default is [:true:].
*/
bool readEventsEnabled;
/**
* Set or get, if the [RawSocket] should listen for [RawSocketEvent.WRITE]
- * events. Default is [true].
+ * events. Default is [:true:].
* This is a one-shot listener, and writeEventsEnabled must be set
* to true again to receive another write event.
*/
@@ -392,7 +392,7 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
* Read up to [len] bytes from the socket. This function is
* non-blocking and will only return data if data is available. The
* number of bytes read can be less then [len] if fewer bytes are
- * available for immediate reading. If no data is available [null]
+ * available for immediate reading. If no data is available [:null:]
* is returned.
*/
List<int> read([int len]);
@@ -450,7 +450,7 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
* Use [setOption] to customize the [RawSocket]. See [SocketOption] for
* available options.
*
- * Returns [true] if the option was set successfully, false otherwise.
+ * Returns [:true:] if the option was set successfully, false otherwise.
*/
bool setOption(SocketOption option, bool enabled);
}
@@ -487,7 +487,7 @@ abstract class Socket implements Stream<List<int>>, IOSink {
* Use [setOption] to customize the [RawSocket]. See [SocketOption] for
* available options.
*
- * Returns [true] if the option was set successfully, false otherwise.
+ * Returns [:true:] if the option was set successfully, false otherwise.
*/
bool setOption(SocketOption option, bool enabled);
@@ -538,13 +538,13 @@ class Datagram {
abstract class RawDatagramSocket extends Stream<RawSocketEvent> {
/**
* Set or get, if the [RawDatagramSocket] should listen for
- * [RawSocketEvent.READ] events. Default is [true].
+ * [RawSocketEvent.READ] events. Default is [:true:].
*/
bool readEventsEnabled;
/**
* Set or get, if the [RawDatagramSocket] should listen for
- * [RawSocketEvent.WRITE] events. Default is [true]. This is a
+ * [RawSocketEvent.WRITE] events. Default is [:true:]. This is a
* one-shot listener, and writeEventsEnabled must be set to true
* again to receive another write event.
*/
« no previous file with comments | « sdk/lib/io/http.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698