eclipse plugin: Get rid of an always true condition
Issue found by "FindBugs"
This commit is contained in:
parent
32cf5110aa
commit
040140cd10
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ public abstract class NewWizardTemplate extends Wizard implements INewWizard
|
|||
*/
|
||||
public void initialize()
|
||||
{
|
||||
if (selection_ != null && selection_.isEmpty() == false &&
|
||||
selection_ instanceof IStructuredSelection)
|
||||
if (selection_ != null && selection_.isEmpty() == false)
|
||||
{
|
||||
IStructuredSelection ssel = selection_;
|
||||
if (ssel.size() > 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue