Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f51b92

Browse files
committed
JavaTime converters no longer needed. Bad forced type
1 parentff368ea commit1f51b92

File tree

4 files changed

+4
-77
lines changed

4 files changed

+4
-77
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.24-SNAPSHOT'
24+
version='0.1.25-SNAPSHOT'
2525

2626
repositories {
2727
mavenLocal()

‎stubbornjava-common/src/main/java/com/stubbornjava/common/db/jooq/JooqConfig.java‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,9 @@ public static DefaultConfiguration defaultConfigFromDataSource(DataSource ds) {
2424

2525
publicstaticList<ForcedType>defaultForcedTypes() {
2626
returnLists.newLinkedList(Arrays.asList(newForcedType[] {
27-
forcedType("BOOLEAN","tinyint",Boolean.class),
28-
forcedType("LocalDate","date",LocalDateConverter.class),
29-
forcedType("LocalDateTime","datetime",LocalDateTimeConverter.class)
27+
newForcedType()
28+
.withName("BOOLEAN")
29+
.withTypes("tinyint")
3030
}));
3131
}
32-
33-
privatestaticForcedTypeforcedType(Stringname,Stringtypes,Class<?>clazz) {
34-
ForcedTypetype =newForcedType();
35-
type.setName(name);
36-
type.setTypes(types);
37-
type.setConverter(clazz.getName());
38-
returntype;
39-
}
4032
}

‎stubbornjava-common/src/main/java/com/stubbornjava/common/db/jooq/LocalDateConverter.java‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎stubbornjava-common/src/main/java/com/stubbornjava/common/db/jooq/LocalDateTimeConverter.java‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp