fixed serial

This commit is contained in:
Luca Frosini 2024-06-05 16:41:39 +02:00
parent 68b868b221
commit 36b6f4f665
2 changed files with 6 additions and 7 deletions

View File

@ -29,7 +29,7 @@ public class PropertyFullInfoImpl extends PropertyBasicInfoImpl implements Prope
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -5925314595659292025L;
private static final long serialVersionUID = 3970807608309386462L;
protected Logger logger = LoggerFactory.getLogger(this.getClass());

View File

@ -16,6 +16,11 @@ import org.gcube.informationsystem.types.reference.properties.PropertyDefinition
@JsonTypeName(value=PropertyDefinition.NAME)
public final class PropertyDefinitionImpl extends PropertyFullInfoImpl implements PropertyDefinition {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -5925314595659292025L;
private static String getPropertyNameFromMethodName(Method method){
String name = method.getName();
if(name.startsWith("get")){
@ -79,11 +84,5 @@ public final class PropertyDefinitionImpl extends PropertyFullInfoImpl implement
}
}
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -5925314595659292025L;
}