diff --git a/PATENTS b/PATENTS index 619f9dbfe..69b47959f 100644 --- a/PATENTS +++ b/PATENTS @@ -1,22 +1,22 @@ Additional IP Rights Grant (Patents) "This implementation" means the copyrightable works distributed by -Google as part of the GRPC project. +Google as part of the gRPC project. Google hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, transfer and otherwise run, modify and propagate the contents of this -implementation of GRPC, where such license applies only to those patent +implementation of gRPC, where such license applies only to those patent claims, both currently owned or controlled by Google and acquired in the future, licensable by Google that are necessarily infringed by this -implementation of GRPC. This grant does not include claims that would be +implementation of gRPC. This grant does not include claims that would be infringed only as a consequence of further modification of this implementation. If you or your agent or exclusive licensee institute or order or agree to the institution of patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging -that this implementation of GRPC or any code incorporated within this -implementation of GRPC constitutes direct or contributory patent +that this implementation of gRPC or any code incorporated within this +implementation of gRPC constitutes direct or contributory patent infringement, or inducement of patent infringement, then any patent -rights granted to you under this License for this implementation of GRPC +rights granted to you under this License for this implementation of gRPC shall terminate as of the date such litigation is filed. diff --git a/backoff.go b/backoff.go index dc4858ebe..52f4f10fc 100644 --- a/backoff.go +++ b/backoff.go @@ -19,7 +19,7 @@ var ( // backoffStrategy defines the methodology for backing off after a grpc // connection failure. // -// This is unexported until the GRPC project decides whether or not to allow +// This is unexported until the gRPC project decides whether or not to allow // alternative backoff strategies. Once a decision is made, this type and its // method may be exported. type backoffStrategy interface { @@ -28,14 +28,14 @@ type backoffStrategy interface { backoff(retries int) time.Duration } -// BackoffConfig defines the parameters for the default GRPC backoff strategy. +// BackoffConfig defines the parameters for the default gRPC backoff strategy. type BackoffConfig struct { // MaxDelay is the upper bound of backoff delay. MaxDelay time.Duration // TODO(stevvooe): The following fields are not exported, as allowing - // changes would violate the current GRPC specification for backoff. If - // GRPC decides to allow more interesting backoff strategies, these fields + // changes would violate the current gRPC specification for backoff. If + // gRPC decides to allow more interesting backoff strategies, these fields // may be opened up in the future. // baseDelay is the amount of time to wait before retrying after the first diff --git a/clientconn.go b/clientconn.go index 0d640b47c..53a121250 100644 --- a/clientconn.go +++ b/clientconn.go @@ -142,7 +142,7 @@ func WithBackoffConfig(b BackoffConfig) DialOption { // withBackoff sets the backoff strategy used for retries after a // failed connection attempt. // -// This can be exported if arbitrary backoff strategies are allowed by GRPC. +// This can be exported if arbitrary backoff strategies are allowed by gRPC. func withBackoff(bs backoffStrategy) DialOption { return func(o *dialOptions) { o.bs = bs