Project

General

Profile

Revision 1f1ad1bc

ID1f1ad1bc4369184b0f92b42fcd89124aa1d36355
Parent 0e5f1701
Child 2fe68f38

Added by Patrick Plitzner over 1 year ago

Fix potential NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/e4/DefinedTermDropAdapterE4.java
56 56

  
57 57
	@Override
58 58
	public boolean performDrop(Object data) {
59
	    if(StoreUtil.promptCheckIsDirty(editor)){
59
	    if(StoreUtil.promptCheckIsDirty(editor) || data == null){
60 60
	        return false;
61 61
	    }
62 62
		AbstractTermDto target = (AbstractTermDto) getCurrentTarget();//can be vocab

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)