eclipse plugin: Get rid of an always true condition

Issue found by "FindBugs"
This commit is contained in:
Timotei Dolean 2011-04-10 10:32:02 +00:00
parent 32cf5110aa
commit 040140cd10

View file

@ -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)