Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
bonita
bonita-studio
Commits
ec442b83
Commit
ec442b83
authored
Oct 29, 2018
by
Romain Bioteau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix delete handler
parent
c0f56c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
bundles/plugins/org.bonitasoft.studio.application/src/org/bonitasoft/studio/application/handler/DeleteHandler.java
.../bonitasoft/studio/application/handler/DeleteHandler.java
+2
-4
No files found.
bundles/plugins/org.bonitasoft.studio.application/src/org/bonitasoft/studio/application/handler/DeleteHandler.java
View file @
ec442b83
...
...
@@ -92,11 +92,9 @@ public class DeleteHandler extends AbstractHandler {
IRepositoryFileStore
fileStore
=
currentRepository
.
getFileStore
(
adapter
);
if
(
fileStore
!=
null
&&
!
fileStore
.
canBeDeleted
())
{
return
false
;
}
else
if
(
fileStore
==
null
&&
currentRepository
.
getRepositoryStore
(
adapter
)
!=
null
)
{
return
false
;
}
if
(
currentRepository
.
getRepositoryStore
(
adapter
)
==
null
)
{
continue
;
}
return
false
;
}
}
else
{
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment