spacing cleanup

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1021535 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bryan Duxbury 2010-10-11 22:13:23 +00:00
parent 8684df9a79
commit 21cd3180ef

View File

@ -126,8 +126,9 @@ public class TAsyncClientManager {
SelectionKey key = keys.next();
keys.remove();
if (!key.isValid()) {
// this can happen if the method call experienced an error and the key was cancelled
// this can also happen if we timeout a method, which results in a channel close
// this can happen if the method call experienced an error and the
// key was cancelled. can also happen if we timeout a method, which
// results in a channel close.
// just skip
continue;
}
@ -180,7 +181,7 @@ public class TAsyncClientManager {
}
}
// Comparator used in TreeSet
/** Comparator used in TreeSet */
private static class TAsyncMethodCallTimeoutComparator implements Comparator<TAsyncMethodCall> {
@Override
public int compare(TAsyncMethodCall left, TAsyncMethodCall right) {
@ -191,5 +192,4 @@ public class TAsyncClientManager {
}
}
}
}