public ArrayList<L2ProductItemComponent> getComponents() { if (_components == null) { _components = new ArrayList<L2ProductItemComponent>(); //redundant specification of type arguments <L2ProductItemComponent> } return _components; }
Eclipse gets notification: redundant specification of type arguments <L2ProductItemComponent>
What way should i modify the code not to get this notification anymore?
public ArrayList<L2ProductItemComponent> getComponents() { if (_components == null) { _components = new ArrayList<L2ProductItemComponent>(); //redundant specification of type arguments <L2ProductItemComponent> } return _components; }
Eclipse gets notification: redundant specification of type arguments <L2ProductItemComponent>
What way should i modify the code not to get this notification anymore?