From d190d668b5d0aa56028fba83fb1396551f3dfd51 Mon Sep 17 00:00:00 2001 From: Peeter Karolin <43540664+tw-peeterkarolin@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:32:58 +0300 Subject: [PATCH] Use static methods to create bean post processors (#27) --- CHANGELOG.md | 6 ++++++ gradle.properties | 2 +- .../common/gaffer/starter/GafferJtaConfiguration.java | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95f76c6..6326f5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.3] - 2024-04-05 + +### Changed + +* Use static methods to create BeanPostProcessors. + ## [3.0.2] - 2024-02-29 ### Changed diff --git a/gradle.properties b/gradle.properties index c9517d1..84d5af9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=3.0.2 +version=3.0.3 diff --git a/tw-gaffer-jta-starter/src/main/java/com/transferwise/common/gaffer/starter/GafferJtaConfiguration.java b/tw-gaffer-jta-starter/src/main/java/com/transferwise/common/gaffer/starter/GafferJtaConfiguration.java index 202739d..1d6cca5 100644 --- a/tw-gaffer-jta-starter/src/main/java/com/transferwise/common/gaffer/starter/GafferJtaConfiguration.java +++ b/tw-gaffer-jta-starter/src/main/java/com/transferwise/common/gaffer/starter/GafferJtaConfiguration.java @@ -49,7 +49,7 @@ public GafferJtaProperties gafferJtaProperties() { @Bean @ConditionalOnMissingBean - public GafferJtaDataSourceBeanProcessor gafferJtaDataSourceBeanProcessor() { + public static GafferJtaDataSourceBeanProcessor gafferJtaDataSourceBeanProcessor() { return new GafferJtaDataSourceBeanProcessor(); }