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 {
309
309
/** Determine if S2A can be used */
310
310
@ VisibleForTesting
311
311
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
313
313
// dependency on netty-tcnative which is dropping support on these platforms.
314
314
// https://github.com/netty/netty-tcnative/issues/898
315
315
// 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 ;
320
320
}
321
321
322
-
323
322
// If mTLS endpoint is not available, skip S2A
324
323
if (Strings .isNullOrEmpty (mtlsEndpoint ())) {
325
324
return false ;
You can’t perform that action at this time.
0 commit comments