Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-studio
Commits
98870b3d
Commit
98870b3d
authored
Nov 07, 2014
by
Romain Bioteau
Browse files
fix npe
parent
e74ce059
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio.diagram.custom/src/org/bonitasoft/studio/diagram/custom/editPolicies/ActivitySwitchEditPolicy.java
View file @
98870b3d
...
...
@@ -696,7 +696,6 @@ public class ActivitySwitchEditPolicy extends AbstractSingleSelectionEditPolicy
private
boolean
hasOutgoingConnection
(){
final
EditPart
host
=
getHost
();
final
EObject
element
=
((
IGraphicalEditPart
)
host
).
resolveSemanticElement
();
final
List
<
Connection
>
connections
=
ModelHelper
.
getParentProcess
(
element
).
getConnections
();
for
(
final
Connection
connection
:
connections
){
final
EObject
source
=
connection
.
getSource
();
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment