Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit 83b2937

Browse files
committed
Merge branch 'germ-search-opts' into germ-importer-opts
2 parents d12ce0c + 55b1841 commit 83b2937

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/main/java/io/swagger/model/SearchRequest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import com.fasterxml.jackson.annotation.JsonIgnore;
44
import com.fasterxml.jackson.annotation.JsonProperty;
5-
import io.swagger.model.core.SortBy;
6-
import io.swagger.model.core.SortOrder;
75

86
import java.util.ArrayList;
97
import java.util.List;

src/main/java/org/brapi/test/BrAPITestServer/converter/JsonbConverter.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ public class JsonbConverter implements AttributeConverter<Object, String> {
1717
@Override
1818
public String convertToDatabaseColumn(Object jsonb) {
1919
try {
20-
if (jsonb != null) {
21-
return mapper.writeValueAsString(jsonb);
22-
}
23-
return null;
20+
return mapper.writeValueAsString(jsonb);
2421
} catch (JsonProcessingException e) {
2522
throw new RuntimeException(e);
2623
}

0 commit comments

Comments
 (0)