diff options
author | Eric Anderson <ejona@google.com> | 2016-07-14 15:33:26 -0700 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2016-07-16 17:45:22 -0700 |
commit | 8f3173617c2e825558c415555e1259ae2fa2e1cf (patch) | |
tree | 05d21054fb4853c1f2a947866b592a0d49b62268 /SECURITY.md | |
parent | 2e4138aa5c8240d134610d1b00073d09359c8cf9 (diff) | |
download | grpc-grpc-java-8f3173617c2e825558c415555e1259ae2fa2e1cf.tar.gz |
docs: Avoid using bindService()
bindService() is generally not necessary and the static version is
deprecated.
Diffstat (limited to 'SECURITY.md')
-rw-r--r-- | SECURITY.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SECURITY.md b/SECURITY.md index e96cd917b..43efb78d8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -245,7 +245,7 @@ avoid needing extra permissions from the OS. Server server = ServerBuilder.forPort(8443) // Enable TLS .useTransportSecurity(certChainFile, privateKeyFile) - .addService(TestServiceGrpc.bindService(serviceImplementation)) + .addService(serviceImplementation) .build(); server.start(); ``` |