Skip to content

Commit dc32f4f

Browse files
author
StephaneMangin
committed
Bugfix SiriusLab#4
1 parent 628c305 commit dc32f4f

File tree

1 file changed

+1
-1
lines changed
  • java_execution/java_engine/plugins/org.gemoc.execution.sequential.javaengine/src/org/gemoc/execution/sequential/javaengine

1 file changed

+1
-1
lines changed

java_execution/java_engine/plugins/org.gemoc.execution.sequential.javaengine/src/org/gemoc/execution/sequential/javaengine/PlainK3ExecutionEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public void acceptSearchMatch(SearchMatch match) throws CoreException {
357357
// return new Status(IStatus.ERROR, Activator.PLUGIN_ID, );
358358
}
359359

360-
return binaryType.get(0);
360+
return binaryType.isEmpty() ? null : binaryType.get(0);
361361
}
362362

363363
private static TransactionalEditingDomain getEditingDomain(EObject o) {

0 commit comments

Comments
 (0)