Project

General

Profile

« Previous | Next » 

Revision 0741ea53

Added by Patrick Plitzner over 6 years ago

fix potential NPE

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/e4/ConceptViewPartE4.java
90 90
		}
91 91
		else if(partObject instanceof TaxonNameEditorE4){
92 92
		    IEditorInput input = ((TaxonNameEditorE4) partObject).getEditorInput();
93
		    showViewer(new StructuredSelection(input), activePart, viewer);
93
		    if(input!=null){
94
		        showViewer(new StructuredSelection(input), activePart, viewer);
95
		    }
94 96
		}
95 97
		else {
96 98
		    showEmptyPage();

Also available in: Unified diff