File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
gax-java/gax/src/main/java/com/google/api/gax/rpc Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -309,17 +309,16 @@ private String determineEndpoint() throws IOException {
309309 /** Determine if S2A can be used */
310310 @ VisibleForTesting
311311 boolean shouldUseS2A () {
312- // If running on windows or macos intel, skip S2A. S2A has runtime
312+ // If running on windows or macos intel, skip S2A. S2A has runtime
313313 // dependency on netty-tcnative which is dropping support on these platforms.
314314 // https://github.com/netty/netty-tcnative/issues/898
315315 // https://github.com/netty/netty-tcnative/issues/897
316- if (System .getProperty ("os.name" ).contains ("Windows" ) ||
317- (System .getProperty ("os.name" ).contains ("OS X" )
318- && System .getProperty ("os.arch" ).contains ("x86_64" ))) {
319- return false ;
316+ if (System .getProperty ("os.name" ).contains ("Windows" )
317+ || (System .getProperty ("os.name" ).contains ("OS X" )
318+ && System .getProperty ("os.arch" ).contains ("x86_64" ))) {
319+ return false ;
320320 }
321321
322-
323322 // If mTLS endpoint is not available, skip S2A
324323 if (Strings .isNullOrEmpty (mtlsEndpoint ())) {
325324 return false ;
You can’t perform that action at this time.
0 commit comments