Merge branch '3.1.x'
This commit is contained in:
@@ -226,10 +226,12 @@ public class BraveAutoConfiguration {
|
||||
@SuppressWarnings("deprecation")
|
||||
private Factory createThrowAwayFactory() {
|
||||
return new Factory() {
|
||||
|
||||
@Override
|
||||
public <K> Propagation<K> create(KeyFactory<K> keyFactory) {
|
||||
return null;
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -74,7 +74,7 @@ public abstract class DomainSocket extends AbstractSocket {
|
||||
return new FileDescriptor(handle, this::close);
|
||||
}
|
||||
catch (RuntimeException ex) {
|
||||
this.close(handle);
|
||||
close(handle);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user