Skip to content
Snippets Groups Projects
Commit be36e328 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

removed unused fields following codacy hint

parent 8b6193fc
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ import com.google.gson.reflect.TypeToken;
import eu.hbp.mip.messages.external.Algorithm;
import eu.hbp.mip.messages.external.ExperimentQuery;
import eu.hbp.mip.messages.external.*;
import org.apache.log4j.Logger;
import org.hibernate.annotations.Cascade;
import scala.collection.JavaConverters;
import scala.collection.Seq;
......@@ -14,7 +13,10 @@ import scala.collection.immutable.HashMap;
import javax.persistence.*;
import java.lang.reflect.Type;
import java.util.*;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.UUID;
/**
......@@ -24,16 +26,8 @@ import java.util.*;
@Table(name = "`experiment`")
public class Experiment {
private static final Logger LOGGER = Logger.getLogger(Experiment.class);
private static final Gson gson = new Gson();
private static final Gson gsonOnlyExposed = new GsonBuilder()
.serializeNulls()
.setDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")
.excludeFieldsWithoutExposeAnnotation()
.create();
@Id
@Column(columnDefinition = "uuid")
@org.hibernate.annotations.Type(type="pg-uuid")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment