This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 64b84104213 (chores) camel-core: weaken protected visibility on final
classes
64b84104213 is described below
commit 64b8410421378b73a1895ed427c3ce0ef8c84d23
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Sep 27 14:34:46 2023 +0200
(chores) camel-core: weaken protected visibility on final classes
---
.../camel/processor/aggregate/AggregationStrategyBeanAdapter.java | 2 +-
.../camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregationStrategyBeanAdapter.java
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregationStrategyBeanAdapter.java
index 3b1e3253c27..27747480be3 100644
---
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregationStrategyBeanAdapter.java
+++
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregationStrategyBeanAdapter.java
@@ -164,7 +164,7 @@ public final class AggregationStrategyBeanAdapter extends
ServiceSupport impleme
* @param method the method
* @return true if valid, false to skip the method
*/
- protected boolean isValidMethod(Method method) {
+ private boolean isValidMethod(Method method) {
// must not be in the excluded list
for (Method excluded : EXCLUDED_METHODS) {
if (method.equals(excluded)) {
diff --git
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java
index 159276059a0..48b64d7a8b7 100644
---
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java
+++
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java
@@ -106,7 +106,7 @@ public final class ShareUnitOfWorkAggregationStrategy
extends ServiceSupport imp
return answer;
}
- protected void propagateFailure(Exchange answer, Exchange newExchange) {
+ private void propagateFailure(Exchange answer, Exchange newExchange) {
// if new exchange failed then propagate all the error related
properties to the answer
if (newExchange.isFailed() || newExchange.isRollbackOnly() ||
newExchange.isRollbackOnlyLast()
||
newExchange.getExchangeExtension().isErrorHandlerHandledSet()