1657: StatMan AIgorithms Importer - Create a widget to sopport Project Explorer
Task-Url: https://support.d4science.org/issues/1657 Add a check to avoid null pointer in addNavigationLink git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@120590 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
be32b76ccf
commit
a16557c00c
|
@ -102,6 +102,9 @@ public class Breadcrumbs extends Composite {
|
|||
* @param parent the parent
|
||||
*/
|
||||
private void addNavigationLink(Item parent) {
|
||||
if(parent==null)
|
||||
return;
|
||||
|
||||
final NavLink navLink = new NavLink(parent.getName());
|
||||
navLink.setName(parent.getId());
|
||||
breadcrumbs.add(navLink);
|
||||
|
|
Loading…
Reference in New Issue