Skip to content

Commit

Permalink
Fix converter
Browse files Browse the repository at this point in the history
  • Loading branch information
ng-galien committed Dec 21, 2023
1 parent a9d024e commit 1e39a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class RSQLJPASupportTest {

@BeforeAll
static void beforeAll() {
RSQLCommonSupport.addEntityAttributeTypeMap(CustomType.class, String.class);
RSQLCommonSupport.addConverter(CustomType.class, CustomType::new);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class CustomType {

private String value;

private CustomType(String value) {
public CustomType(String value) {
this.value = value;
}

Expand Down

0 comments on commit 1e39a29

Please sign in to comment.