This is an automated email from the ASF dual-hosted git repository.
iuliana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
The following commit(s) were added to refs/heads/master by this push:
new d284f70b96 making a static serialization method public to be alble to
serialize and deserialize secrets properly
new 43b2bfa583 Merge pull request #1401 from iuliana/exposing
d284f70b96 is described below
commit d284f70b96c5731dcc8b94f735e9f9157b10db8e
Author: iuliana <[email protected]>
AuthorDate: Tue May 23 16:27:02 2023 +0100
making a static serialization method public to be alble to serialize and
deserialize secrets properly
---
utils/common/src/main/java/org/apache/brooklyn/util/text/Secret.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/utils/common/src/main/java/org/apache/brooklyn/util/text/Secret.java
b/utils/common/src/main/java/org/apache/brooklyn/util/text/Secret.java
index bcbe734523..0fd65ed886 100644
--- a/utils/common/src/main/java/org/apache/brooklyn/util/text/Secret.java
+++ b/utils/common/src/main/java/org/apache/brooklyn/util/text/Secret.java
@@ -83,7 +83,7 @@ public class Secret<T> implements Supplier<T> {
static ThreadLocal<Integer> permitJacksonSerializationInThisThread =
new ThreadLocal<>();
- static <T> T runWithJacksonSerializationEnabledInThread(Callable<T>
callable) throws Exception {
+ public static <T> T
runWithJacksonSerializationEnabledInThread(Callable<T> callable) throws
Exception {
try {
Integer old = permitJacksonSerializationInThisThread.get();
if (old==null) old = 0;