diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/actioneditor/ActionCodeEditorRegistry.java')
-rw-r--r-- | plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/actioneditor/ActionCodeEditorRegistry.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/actioneditor/ActionCodeEditorRegistry.java b/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/actioneditor/ActionCodeEditorRegistry.java index bfc1a81e9..4fcfe4f51 100644 --- a/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/actioneditor/ActionCodeEditorRegistry.java +++ b/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/actioneditor/ActionCodeEditorRegistry.java @@ -210,7 +210,7 @@ public class ActionCodeEditorRegistry { found.add(entry); } - return (ActionCodeEditorRegistryEntry[]) found + return found .toArray(new ActionCodeEditorRegistryEntry[found.size()]); } @@ -241,7 +241,7 @@ public class ActionCodeEditorRegistry { } } - cachedEditorEntries = (ActionCodeEditorRegistryEntry[]) found + cachedEditorEntries = found .toArray(new ActionCodeEditorRegistryEntry[found.size()]); return cachedEditorEntries; } |