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
2fca259e
Commit
2fca259e
authored
11 years ago
by
jakubs
Browse files
Options
Downloads
Patches
Plain Diff
BIS-654 SOB-139 let sample translator always fetch properties if details are requested
SVN: 30523
parent
995af492
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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/shared/translator/SampleTranslator.java
+2
-8
2 additions, 8 deletions
...d/openbis/generic/shared/translator/SampleTranslator.java
with
2 additions
and
8 deletions
openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/translator/SampleTranslator.java
+
2
−
8
View file @
2fca259e
...
...
@@ -209,14 +209,8 @@ public final class SampleTranslator
private
static
void
setProperties
(
final
Sample
result
,
final
SamplePE
samplePE
,
IManagedPropertyEvaluatorFactory
managedPropertyEvaluatorFactory
)
{
if
(
samplePE
.
isPropertiesInitialized
())
{
result
.
setProperties
(
EntityPropertyTranslator
.
translate
(
samplePE
.
getProperties
(),
new
HashMap
<
PropertyTypePE
,
PropertyType
>(),
managedPropertyEvaluatorFactory
));
}
else
{
result
.
setProperties
(
new
ArrayList
<
IEntityProperty
>());
}
result
.
setProperties
(
EntityPropertyTranslator
.
translate
(
samplePE
.
getProperties
(),
new
HashMap
<
PropertyTypePE
,
PropertyType
>(),
managedPropertyEvaluatorFactory
));
}
public
final
static
SampleParentWithDerived
translate
(
...
...
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