Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
be36e328
Commit
be36e328
authored
8 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
removed unused fields following codacy hint
parent
8b6193fc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/eu/hbp/mip/model/Experiment.java
+4
-10
4 additions, 10 deletions
src/main/java/eu/hbp/mip/model/Experiment.java
with
4 additions
and
10 deletions
src/main/java/eu/hbp/mip/model/Experiment.java
+
4
−
10
View file @
be36e328
...
...
@@ -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"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment