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
69749f9f
Commit
69749f9f
authored
13 years ago
by
kaloyane
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: NPE in permanent deletion
SVN: 22727
parent
5e7c418d
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/server/business/bo/DeletionTable.java
+2
-3
2 additions, 3 deletions
...isd/openbis/generic/server/business/bo/DeletionTable.java
with
2 additions
and
3 deletions
openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/DeletionTable.java
+
2
−
3
View file @
69749f9f
...
@@ -41,7 +41,6 @@ import ch.systemsx.cisd.openbis.generic.shared.translator.DeletionTranslator;
...
@@ -41,7 +41,6 @@ import ch.systemsx.cisd.openbis.generic.shared.translator.DeletionTranslator;
*/
*/
public
class
DeletionTable
extends
AbstractBusinessObject
implements
IDeletionTable
public
class
DeletionTable
extends
AbstractBusinessObject
implements
IDeletionTable
{
{
private
List
<
Deletion
>
deletions
;
private
List
<
Deletion
>
deletions
;
public
DeletionTable
(
IDAOFactory
daoFactory
,
Session
session
)
public
DeletionTable
(
IDAOFactory
daoFactory
,
Session
session
)
...
@@ -58,7 +57,8 @@ public class DeletionTable extends AbstractBusinessObject implements IDeletionTa
...
@@ -58,7 +57,8 @@ public class DeletionTable extends AbstractBusinessObject implements IDeletionTa
{
{
final
List
<
DeletionPE
>
deletionPEs
=
getDeletionDAO
().
listAllEntities
();
final
List
<
DeletionPE
>
deletionPEs
=
getDeletionDAO
().
listAllEntities
();
Collections
.
sort
(
deletionPEs
);
Collections
.
sort
(
deletionPEs
);
if
(
withEntities
==
false
)
deletions
=
DeletionTranslator
.
translate
(
deletionPEs
);
if
(
false
==
withEntities
)
{
{
return
;
return
;
}
}
...
@@ -74,7 +74,6 @@ public class DeletionTable extends AbstractBusinessObject implements IDeletionTa
...
@@ -74,7 +74,6 @@ public class DeletionTable extends AbstractBusinessObject implements IDeletionTa
findSamples
(
findersMap
,
deletionIDs
);
findSamples
(
findersMap
,
deletionIDs
);
findDataSets
(
findersMap
,
deletionIDs
);
findDataSets
(
findersMap
,
deletionIDs
);
}
}
deletions
=
DeletionTranslator
.
translate
(
deletionPEs
);
for
(
Deletion
deletion
:
deletions
)
for
(
Deletion
deletion
:
deletions
)
{
{
findersMap
.
get
(
deletion
.
getId
()).
addRootEntitiesTo
(
deletion
);
findersMap
.
get
(
deletion
.
getId
()).
addRootEntitiesTo
(
deletion
);
...
...
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