Skip to content

Commit

Permalink
[#4930] [#6631] DefaultBinding refactoring
Browse files Browse the repository at this point in the history
- [#4930] Create one DefaultXYZBinding type per DataType, internally
- [#6631] Deprecate public DefaultBinding constructor
  • Loading branch information
lukaseder committed Oct 5, 2017
1 parent 5bde2a0 commit cdec924
Show file tree
Hide file tree
Showing 6 changed files with 2,480 additions and 1,449 deletions.
1 change: 1 addition & 0 deletions jOOQ/src/main/java/org/jooq/impl/ArrayRecordImpl.java
Expand Up @@ -399,6 +399,7 @@







6 changes: 3 additions & 3 deletions jOOQ/src/main/java/org/jooq/impl/DateAsTimestampBinding.java
Expand Up @@ -69,14 +69,14 @@ public class DateAsTimestampBinding implements Binding<Timestamp, Timestamp> {
/**
* Generated UID
*/
private static final long serialVersionUID = -7730882831126647188L;
private static final long serialVersionUID = -7730882831126647188L;

private final Converter<Timestamp, Timestamp> converter;
private final DefaultBinding<Timestamp, Timestamp> delegate;
private final Binding<Timestamp, Timestamp> delegate;

public DateAsTimestampBinding() {
this.converter = Converters.identity(Timestamp.class);
this.delegate = new DefaultBinding<Timestamp, Timestamp>(converter);
this.delegate = DefaultBinding.binding(converter);
}

@Override
Expand Down

0 comments on commit cdec924

Please sign in to comment.