From 8ab0531dbe887fc572a2dc0002d7219467c8e42b Mon Sep 17 00:00:00 2001 From: Michael Reiche <48999328+mikereiche@users.noreply.github.com> Date: Thu, 5 Jan 2023 09:35:09 -0800 Subject: [PATCH] Restore protected visibility to potentiallyConvertRuntimeException. (#1636) Closes #1635. --- .../data/couchbase/core/ReactiveCouchbaseTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplate.java b/src/main/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplate.java index c7dc17de..b5d7c341 100644 --- a/src/main/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplate.java +++ b/src/main/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplate.java @@ -223,7 +223,7 @@ public class ReactiveCouchbaseTemplate implements ReactiveCouchbaseOperations, A * * @param ex the exception to translate */ - RuntimeException potentiallyConvertRuntimeException(final RuntimeException ex) { + protected RuntimeException potentiallyConvertRuntimeException(final RuntimeException ex) { RuntimeException resolved = exceptionTranslator != null ? exceptionTranslator.translateExceptionIfPossible(ex) : null; return resolved == null ? ex : resolved;