Skip to content

Commit 9eb9fa3

Browse files
committed
Fix compile error bump version
1 parent eee2dea commit 9eb9fa3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ allprojects {
2121

2222
// Using Jitpack so I need the repo name in the group to match.
2323
group = 'com.stubbornjava.StubbornJava'
24-
version = '0.1.26-SNAPSHOT'
24+
version = '0.1.27-SNAPSHOT'
2525

2626
repositories {
2727
mavenLocal()

stubbornjava-common/src/main/java/com/stubbornjava/common/db/TableCrud.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ public class TableCrud<Rec extends UpdatableRecord<Rec>, T> {
2424
private final RecordUnmapper<T, Rec> unmapper;
2525
private final Supplier<DSLContext> configSupplier;
2626
public TableCrud(TableImpl<Rec> table,
27-
RecordMapper<Rec, T> mapper,
27+
// Ideally this would be RecordMapper<Rec, T> mapper but hitting generic issues
28+
RecordMapper<Record, T> mapper,
2829
RecordUnmapper<T, Rec> unmapper,
2930
Supplier<DSLContext> configSupplier) {
3031
super();
3132
this.table = table;
32-
this.mapper = (RecordMapper<Record, T>) mapper;
33+
this.mapper = mapper;
3334
this.unmapper = unmapper;
3435
this.configSupplier = configSupplier;
3536
}

0 commit comments

Comments
 (0)