Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
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
sispub
openbis
Commits
f53792df
Commit
f53792df
authored
15 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
minor: remove unused code
SVN: 13949
parent
f7188b70
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
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/dto/ExperimentIdentifier.java
+4
-24
4 additions, 24 deletions
...s/generic/client/web/client/dto/ExperimentIdentifier.java
with
4 additions
and
24 deletions
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/dto/ExperimentIdentifier.java
+
4
−
24
View file @
f53792df
...
...
@@ -18,21 +18,15 @@ package ch.systemsx.cisd.openbis.generic.client.web.client.dto;
import
com.google.gwt.user.client.rpc.IsSerializable
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.TechId
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.Experiment
;
public
final
class
ExperimentIdentifier
implements
IsSerializable
{
private
String
identifier
;
private
TechId
techID
;
public
static
ExperimentIdentifier
createIdentifier
(
Experiment
entity
)
{
ExperimentIdentifier
identifier
=
new
ExperimentIdentifier
();
identifier
.
setIdentifier
(
entity
.
getIdentifier
());
TechId
tid
=
new
TechId
(
entity
.
getId
());
identifier
.
setTechID
(
tid
);
return
identifier
;
return
new
ExperimentIdentifier
(
entity
.
getIdentifier
());
}
public
ExperimentIdentifier
(
String
identifier
)
...
...
@@ -40,6 +34,8 @@ public final class ExperimentIdentifier implements IsSerializable
this
.
identifier
=
identifier
;
}
// GWT only
@SuppressWarnings
(
"unused"
)
private
ExperimentIdentifier
()
{
}
...
...
@@ -49,26 +45,10 @@ public final class ExperimentIdentifier implements IsSerializable
return
identifier
;
}
public
void
setIdentifier
(
String
identifier
)
{
this
.
identifier
=
identifier
;
}
public
final
TechId
getTechID
()
{
return
techID
;
}
public
final
void
setTechID
(
TechId
techID
)
{
this
.
techID
=
techID
;
}
@Override
public
String
toString
()
{
return
"Experiment["
+
identifier
+
", "
+
techID
+
"]"
;
return
"Experiment["
+
identifier
+
"]"
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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