Skip to content

Commit 95c6f50

Browse files
author
Louis Ryan
committed
Udate TODOs to use Github user names
1 parent 7b25aaf commit 95c6f50

File tree

26 files changed

+42
-42
lines changed

26 files changed

+42
-42
lines changed

auth/src/main/java/io/grpc/auth/OAuth2ChannelInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public OAuth2ChannelInterceptor(Credential credential, Executor executor) {
6565
@Override
6666
public <ReqT, RespT> Call<ReqT, RespT> interceptCall(MethodDescriptor<ReqT, RespT> method,
6767
Channel next) {
68-
// TODO(ejona): If the call fails for Auth reasons, this does not properly propagate info that
68+
// TODO(ejona86): If the call fails for Auth reasons, this does not properly propagate info that
6969
// would be in WWW-Authenticate, because it does not yet have access to the header.
7070
return new ForwardingCall<ReqT, RespT>(next.newCall(method)) {
7171
@Override

compiler/src/java_plugin/cpp/java_generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static void PrintStub(const google::protobuf::ServiceDescriptor* service,
337337
p->Print("public ");
338338
switch (call_type) {
339339
case BLOCKING_CALL:
340-
// TODO(zhangkun): decide the blocking server interface
340+
// TODO(zhangkun83): decide the blocking server interface
341341
CHECK(type != BLOCKING_SERVER_INTERFACE)
342342
<< "Blocking server interface is not available";
343343
CHECK(!client_streaming)

core/src/main/java/io/grpc/Call.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public abstract static class Listener<T> {
9090
* @param headers which can contain extra information like authentication.
9191
* @throws IllegalStateException if call is already started
9292
*/
93-
// TODO(lryan): Might be better to put into Channel#newCall, might reduce decoration burden
93+
// TODO(louiscryan): Might be better to put into Channel#newCall, might reduce decoration burden
9494
public abstract void start(Listener<ResponseT> responseListener, Metadata.Headers headers);
9595

9696
/**

core/src/main/java/io/grpc/Channel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ public interface Channel {
4444
/**
4545
* Create a call to the given service method.
4646
*/
47-
// TODO(ejona): perform start() as part of new Call creation?
47+
// TODO(ejona86): perform start() as part of new Call creation?
4848
public <ReqT, RespT> Call<ReqT, RespT> newCall(MethodDescriptor<ReqT, RespT> method);
4949
}

core/src/main/java/io/grpc/ChannelImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public ChannelImpl(ClientTransportFactory transportFactory, ExecutorService exec
9292
}
9393

9494
/** Hack to allow executors to auto-shutdown. Not for general use. */
95-
// TODO(ejona): Replace with a real API.
95+
// TODO(ejona86): Replace with a real API.
9696
void setTerminationRunnable(Runnable runnable) {
9797
this.terminationRunnable = runnable;
9898
}
@@ -126,7 +126,7 @@ public synchronized ChannelImpl shutdown() {
126126
*
127127
* <p>NOT YET IMPLEMENTED. This method currently behaves identically to shutdown().
128128
*/
129-
// TODO(ejona): cancel preexisting calls.
129+
// TODO(ejona86): cancel preexisting calls.
130130
public synchronized ChannelImpl shutdownNow() {
131131
shutdown();
132132
return this;
@@ -256,7 +256,7 @@ public void start(Listener<RespT> observer, Metadata.Headers headers) {
256256
stream = transport.newStream(method, headers, listener);
257257
} catch (IllegalStateException ex) {
258258
// We can race with the transport and end up trying to use a terminated transport.
259-
// TODO(ejona): Improve the API to remove the possibility of the race.
259+
// TODO(ejona86): Improve the API to remove the possibility of the race.
260260
stream = new NoopClientStream();
261261
listener.closed(Status.fromThrowable(ex), new Metadata.Trailers());
262262
return;

core/src/main/java/io/grpc/Marshaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface Marshaller<T> {
4141
/**
4242
* Given a message produce an {@link InputStream} for it.
4343
*/
44-
// TODO(lryan): Switch to ByteSource equivalent when ready
44+
// TODO(louiscryan): Switch to ByteSource equivalent when ready
4545
public InputStream stream(T value);
4646

4747
/**

core/src/main/java/io/grpc/Metadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public Integer parseAsciiString(String serialized) {
104104
/**
105105
* Constructor called by the transport layer when it receives binary metadata.
106106
*/
107-
// TODO(lryan): Convert to use ByteString so we can cache transformations
107+
// TODO(louiscryan): Convert to use ByteString so we can cache transformations
108108
private Metadata(byte[]... binaryValues) {
109109
store = LinkedListMultimap.create();
110110
for (int i = 0; i < binaryValues.length; i++) {
@@ -430,7 +430,7 @@ public String name() {
430430
return name;
431431
}
432432

433-
// TODO (lryan): Migrate to ByteString
433+
// TODO (louiscryan): Migrate to ByteString
434434
public byte[] asciiName() {
435435
return asciiName;
436436
}

core/src/main/java/io/grpc/SerializingExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* @author JJ Furman
5050
*/
5151

52-
// TODO(simonma): figure out a way to not expose it or move it to transport package.
52+
// TODO(madongfly): figure out a way to not expose it or move it to transport package.
5353
public final class SerializingExecutor implements Executor {
5454
private static final Logger log =
5555
Logger.getLogger(SerializingExecutor.class.getName());

core/src/main/java/io/grpc/ServerCall.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public abstract class ServerCall<ResponseT> {
5656
* <p>Implementations are free to block for extended periods of time. Implementations are not
5757
* required to be thread-safe.
5858
*/
59-
// TODO(ejona): We need to decide what to do in the case of server closing with non-cancellation
59+
// TODO(ejona86): We need to decide what to do in the case of server closing with non-cancellation
6060
// before client half closes. It may be that we treat such a case as an error. If we permit such
6161
// a case then we either get to generate a half close or purposefully omit it.
6262
public abstract static class Listener<RequestT> {

core/src/main/java/io/grpc/ServerImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public ServerListener serverListener() {
119119
}
120120

121121
/** Hack to allow executors to auto-shutdown. Not for general use. */
122-
// TODO(ejona): Replace with a real API.
122+
// TODO(ejona86): Replace with a real API.
123123
synchronized void setTerminationRunnable(Runnable runnable) {
124124
this.terminationRunnable = runnable;
125125
}
@@ -168,7 +168,7 @@ public synchronized ServerImpl shutdown() {
168168
*
169169
* <p>NOT YET IMPLEMENTED. This method currently behaves identically to shutdown().
170170
*/
171-
// TODO(ejona): cancel preexisting calls.
171+
// TODO(ejona86): cancel preexisting calls.
172172
public synchronized ServerImpl shutdownNow() {
173173
shutdown();
174174
return this;
@@ -320,7 +320,7 @@ public void run() {
320320
/** Never returns {@code null}. */
321321
private <ReqT, RespT> ServerStreamListener startCall(ServerStream stream, String fullMethodName,
322322
ServerMethodDefinition<ReqT, RespT> methodDef, Metadata.Headers headers) {
323-
// TODO(ejona): should we update fullMethodName to have the canonical path of the method?
323+
// TODO(ejona86): should we update fullMethodName to have the canonical path of the method?
324324
final ServerCallImpl<ReqT, RespT> call = new ServerCallImpl<ReqT, RespT>(stream, methodDef);
325325
ServerCall.Listener<ReqT> listener
326326
= methodDef.getServerCallHandler().startCall(fullMethodName, call, headers);
@@ -382,7 +382,7 @@ private void setListener(ServerStreamListener listener) {
382382
* Like {@link ServerCall#close(Status, Metadata.Trailers)}, but thread-safe for internal use.
383383
*/
384384
private void internalClose(Status status, Metadata.Trailers trailers) {
385-
// TODO(ejona): this is not thread-safe :)
385+
// TODO(ejona86): this is not thread-safe :)
386386
stream.close(status, trailers);
387387
}
388388

0 commit comments

Comments
 (0)