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

Unified Diff: pkg/analysis_server/lib/plugin/protocol/protocol.dart

Issue 1409353002: Clean up wording of client usage expectations (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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: pkg/analysis_server/lib/plugin/protocol/protocol.dart
diff --git a/pkg/analysis_server/lib/plugin/protocol/protocol.dart b/pkg/analysis_server/lib/plugin/protocol/protocol.dart
index 08e49f86657a1316c5ba7f2e55fb53cc263ad0b5..823ffd61dc1e33dbccdfc598be5a44d8de2afc55 100644
--- a/pkg/analysis_server/lib/plugin/protocol/protocol.dart
+++ b/pkg/analysis_server/lib/plugin/protocol/protocol.dart
@@ -18,7 +18,7 @@ part 'generated_protocol.dart';
/**
* A [RequestHandler] that supports [startup] and [shutdown] methods.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
abstract class DomainHandler extends RequestHandler {
/**
@@ -38,7 +38,7 @@ abstract class DomainHandler extends RequestHandler {
/**
* An interface for enumerated types in the protocol.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
abstract class Enum {
/**
@@ -51,7 +51,7 @@ abstract class Enum {
/**
* A notification from the server about an event that occurred.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
class Notification {
/**
@@ -108,7 +108,7 @@ class Notification {
/**
* A request that was received from the client.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
class Request {
/**
@@ -254,7 +254,7 @@ class Request {
* An exception that occurred during the handling of a request that requires
* that an error be returned to the client.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
class RequestFailure implements Exception {
/**
@@ -271,7 +271,7 @@ class RequestFailure implements Exception {
/**
* An object that can handle requests and produce responses for them.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
abstract class RequestHandler {
/**
@@ -286,7 +286,7 @@ abstract class RequestHandler {
/**
* A response to a request.
*
- * Clients are not expected to subtype this class.
+ * Clients may not extend, implement or mix-in this class.
*/
class Response {
/**

Powered by Google App Engine
This is Rietveld 408576698