Commit 2536761e authored by Kristof Szabados's avatar Kristof Szabados
Browse files

prematue declaration.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 08fd559b
......@@ -55,13 +55,13 @@ public class LazyficationActionFromBrowser extends AbstractHandler implements IO
}
private void performLazyfication() {
// getting the active editor
final TTCN3Editor targetEditor = Utils.getActiveEditor();
//find selection
if (!(selection instanceof IStructuredSelection)) {
return;
}
// getting the active editor
final TTCN3Editor targetEditor = Utils.getActiveEditor();
//find selection
final IStructuredSelection structSelection = (IStructuredSelection)selection;
final Set<IProject> projsToUpdate = Utils.findAllProjectsInSelection(structSelection);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment