[Person] removed the extentions to Oaf for atomicAction serializer and deserializer

This commit is contained in:
Miriam Baglioni 2024-07-03 15:44:35 +02:00
parent bcbcba399d
commit 50d4db8b04
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import eu.dnetlib.dhp.schema.oaf.Oaf;
@JsonDeserialize(using = AtomicActionDeserializer.class)
public class AtomicAction<T extends Object> implements Serializable {
public class AtomicAction<T> implements Serializable {
private Class<T> clazz;

View File

@ -11,7 +11,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import eu.dnetlib.dhp.schema.oaf.Oaf;
public class AtomicActionDeserializer<T extends Oaf> extends JsonDeserializer<AtomicAction<T>> {
public class AtomicActionDeserializer<T > extends JsonDeserializer<AtomicAction<T>> {
@Override
@SuppressWarnings("unchecked")