mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-11-02 09:30:41 +01:00
Changes isEmpty method for BooleanToJsonFormatFlagSerializer to override non deprecated supermethod
This commit is contained in:
@@ -14,7 +14,7 @@ public class BooleanToJsonFormatFlagSerializer extends JsonSerializer<Boolean>{
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty(Boolean value){
|
||||
public boolean isEmpty(SerializerProvider provider,Boolean value){
|
||||
return !value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user