Skip to content

Commit 56c6f90

Browse files
committed
doc tweaks
1 parent 148457d commit 56c6f90

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

binder/src/main/java/io/grpc/binder/internal/Bindable.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ interface Observer {
4949
}
5050

5151
/**
52-
* Fetches details about the remote service from PackageManager without binding to it.
52+
* Fetches details about the remote Service from PackageManager without binding to it.
5353
*
54-
* <p>Resolving an untrusted address before binding to it lets you "screen" out problematic
55-
* servers before giving them a chance to run. However, note that the identity/existence of the
56-
* resolved Service can change between the time this method returns and the time you actually
57-
* bind/connect to it. For example, suppose the target package gets uninstalled right after this
58-
* method returns. In {@link Observer#onBound}, you should verify that the server you resolved is
59-
* the same one you connected to.
54+
* <p>Resolving an untrusted address before binding to it lets you screen out problematic servers
55+
* before giving them a chance to run. However, note that the identity/existence of the resolved
56+
* Service can change between the time this method returns and the time you actually bind/connect
57+
* to it. For example, suppose the target package gets uninstalled right after this method
58+
* returns. In {@link Observer#onBound}, you should verify that the server you resolved is the
59+
* same one you connected to.
6060
*/
6161
@AnyThread
6262
ServiceInfo resolve() throws StatusException;

0 commit comments

Comments
 (0)