killbill-memoizeit
Changes
pom.xml 2(+1 -1)
Details
diff --git a/account/src/main/java/com/ning/billing/account/dao/AccountEmailHistoryBinder.java b/account/src/main/java/com/ning/billing/account/dao/AccountEmailHistoryBinder.java
index f7a4db1..a704198 100644
--- a/account/src/main/java/com/ning/billing/account/dao/AccountEmailHistoryBinder.java
+++ b/account/src/main/java/com/ning/billing/account/dao/AccountEmailHistoryBinder.java
@@ -39,7 +39,7 @@ public @interface AccountEmailHistoryBinder {
public Binder<AccountEmailHistoryBinder, EntityHistory<AccountEmail>> build(final Annotation annotation) {
return new Binder<AccountEmailHistoryBinder, EntityHistory<AccountEmail>>() {
@Override
- public void bind(final SQLStatement q, final AccountEmailHistoryBinder bind, final EntityHistory<AccountEmail> history) {
+ public void bind(final SQLStatement<?> q, final AccountEmailHistoryBinder bind, final EntityHistory<AccountEmail> history) {
q.bind("recordId", history.getValue());
q.bind("changeType", history.getChangeType().toString());
diff --git a/account/src/main/java/com/ning/billing/account/dao/AccountHistoryBinder.java b/account/src/main/java/com/ning/billing/account/dao/AccountHistoryBinder.java
index be07b3b..475bf26 100644
--- a/account/src/main/java/com/ning/billing/account/dao/AccountHistoryBinder.java
+++ b/account/src/main/java/com/ning/billing/account/dao/AccountHistoryBinder.java
@@ -41,7 +41,7 @@ public @interface AccountHistoryBinder {
public Binder<AccountHistoryBinder, EntityHistory<Account>> build(final Annotation annotation) {
return new Binder<AccountHistoryBinder, EntityHistory<Account>>() {
@Override
- public void bind(final SQLStatement q, final AccountHistoryBinder bind, final EntityHistory<Account> history) {
+ public void bind(final SQLStatement<?> q, final AccountHistoryBinder bind, final EntityHistory<Account> history) {
q.bind("recordId", history.getValue());
q.bind("changeType", history.getChangeType().toString());
diff --git a/junction/src/main/java/com/ning/billing/junction/dao/BlockingStateSqlDao.java b/junction/src/main/java/com/ning/billing/junction/dao/BlockingStateSqlDao.java
index 244be9e..6383b9d 100644
--- a/junction/src/main/java/com/ning/billing/junction/dao/BlockingStateSqlDao.java
+++ b/junction/src/main/java/com/ning/billing/junction/dao/BlockingStateSqlDao.java
@@ -144,7 +144,7 @@ public interface BlockingStateSqlDao extends BlockingStateDao, CloseMe, Transmog
public static class OverdueStateBinder<T extends Blockable> extends BinderBase implements Binder<Bind, OverdueState<T>> {
@Override
- public void bind(@SuppressWarnings("rawtypes") final SQLStatement stmt, final Bind bind, final OverdueState<T> overdueState) {
+ public void bind(final SQLStatement<?> stmt, final Bind bind, final OverdueState<T> overdueState) {
stmt.bind("state", overdueState.getName());
}
}
diff --git a/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptHistoryBinder.java b/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptHistoryBinder.java
index 73596fd..7f66ace 100644
--- a/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptHistoryBinder.java
+++ b/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptHistoryBinder.java
@@ -40,7 +40,7 @@ public @interface PaymentAttemptHistoryBinder {
public Binder<PaymentAttemptHistoryBinder, EntityHistory<PaymentAttemptModelDao>> build(final Annotation annotation) {
return new Binder<PaymentAttemptHistoryBinder, EntityHistory<PaymentAttemptModelDao>>() {
@Override
- public void bind(@SuppressWarnings("rawtypes") final SQLStatement q, final PaymentAttemptHistoryBinder bind, final EntityHistory<PaymentAttemptModelDao> history) {
+ public void bind(final SQLStatement<?> q, final PaymentAttemptHistoryBinder bind, final EntityHistory<PaymentAttemptModelDao> history) {
q.bind("recordId", history.getValue());
q.bind("changeType", history.getChangeType().toString());
final PaymentAttemptModelDao attempt = history.getEntity();
diff --git a/payment/src/main/java/com/ning/billing/payment/dao/PaymentHistoryBinder.java b/payment/src/main/java/com/ning/billing/payment/dao/PaymentHistoryBinder.java
index 271e35a..a68de8c 100644
--- a/payment/src/main/java/com/ning/billing/payment/dao/PaymentHistoryBinder.java
+++ b/payment/src/main/java/com/ning/billing/payment/dao/PaymentHistoryBinder.java
@@ -38,7 +38,7 @@ public @interface PaymentHistoryBinder {
public Binder<PaymentHistoryBinder, EntityHistory<PaymentModelDao>> build(final Annotation annotation) {
return new Binder<PaymentHistoryBinder, EntityHistory<PaymentModelDao>>() {
@Override
- public void bind(@SuppressWarnings("rawtypes") final SQLStatement q, final PaymentHistoryBinder bind, final EntityHistory<PaymentModelDao> history) {
+ public void bind(final SQLStatement<?> q, final PaymentHistoryBinder bind, final EntityHistory<PaymentModelDao> history) {
q.bind("recordId", history.getValue());
q.bind("changeType", history.getChangeType().toString());
final PaymentModelDao payment = history.getEntity();
diff --git a/payment/src/main/java/com/ning/billing/payment/dao/PaymentMethodHistoryBinder.java b/payment/src/main/java/com/ning/billing/payment/dao/PaymentMethodHistoryBinder.java
index b55eb0d..b74d528 100644
--- a/payment/src/main/java/com/ning/billing/payment/dao/PaymentMethodHistoryBinder.java
+++ b/payment/src/main/java/com/ning/billing/payment/dao/PaymentMethodHistoryBinder.java
@@ -38,7 +38,7 @@ public @interface PaymentMethodHistoryBinder {
public Binder<PaymentMethodHistoryBinder, EntityHistory<PaymentMethodModelDao>> build(final Annotation annotation) {
return new Binder<PaymentMethodHistoryBinder, EntityHistory<PaymentMethodModelDao>>() {
@Override
- public void bind(@SuppressWarnings("rawtypes") final SQLStatement q, final PaymentMethodHistoryBinder bind, final EntityHistory<PaymentMethodModelDao> history) {
+ public void bind(final SQLStatement<?> q, final PaymentMethodHistoryBinder bind, final EntityHistory<PaymentMethodModelDao> history) {
q.bind("recordId", history.getValue());
q.bind("changeType", history.getChangeType().toString());
final PaymentMethodModelDao paymentMethod = history.getEntity();
pom.xml 2(+1 -1)
diff --git a/pom.xml b/pom.xml
index eec9bf9..1bf7a59 100644
--- a/pom.xml
+++ b/pom.xml
@@ -285,7 +285,7 @@
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi</artifactId>
- <version>2.32</version>
+ <version>2.37.1</version>
</dependency>
<dependency>
<groupId>org.skife.config</groupId>
diff --git a/util/src/main/java/com/ning/billing/util/customfield/dao/CustomFieldHistoryBinder.java b/util/src/main/java/com/ning/billing/util/customfield/dao/CustomFieldHistoryBinder.java
index 0161528..506017a 100644
--- a/util/src/main/java/com/ning/billing/util/customfield/dao/CustomFieldHistoryBinder.java
+++ b/util/src/main/java/com/ning/billing/util/customfield/dao/CustomFieldHistoryBinder.java
@@ -39,7 +39,7 @@ public @interface CustomFieldHistoryBinder {
public Binder build(final Annotation annotation) {
return new Binder<CustomFieldHistoryBinder, EntityHistory<CustomField>>() {
@Override
- public void bind(final SQLStatement q, final CustomFieldHistoryBinder bind, final EntityHistory<CustomField> customFieldHistory) {
+ public void bind(final SQLStatement<?> q, final CustomFieldHistoryBinder bind, final EntityHistory<CustomField> customFieldHistory) {
q.bind("recordId", customFieldHistory.getValue());
q.bind("changeType", customFieldHistory.getChangeType().toString());
q.bind("id", customFieldHistory.getId().toString());
diff --git a/util/src/main/java/com/ning/billing/util/tag/dao/TagHistoryBinder.java b/util/src/main/java/com/ning/billing/util/tag/dao/TagHistoryBinder.java
index 05d9414..b8cdded 100644
--- a/util/src/main/java/com/ning/billing/util/tag/dao/TagHistoryBinder.java
+++ b/util/src/main/java/com/ning/billing/util/tag/dao/TagHistoryBinder.java
@@ -39,7 +39,7 @@ public @interface TagHistoryBinder {
public Binder build(final Annotation annotation) {
return new Binder<TagHistoryBinder, EntityHistory<Tag>>() {
@Override
- public void bind(final SQLStatement q, final TagHistoryBinder bind, final EntityHistory<Tag> tagHistory) {
+ public void bind(final SQLStatement<?> q, final TagHistoryBinder bind, final EntityHistory<Tag> tagHistory) {
q.bind("recordId", tagHistory.getValue());
q.bind("changeType", tagHistory.getChangeType().toString());
q.bind("id", tagHistory.getId().toString());