Project

General

Profile

« Previous | Next » 

Revision e192ea4b

Added by Andreas Kohlbecker about 7 years ago

#6562 throwing warning on issue

View differences:

src/main/java/eu/etaxonomy/vaadin/mvp/AbstractPresenter.java
26 26
@ViewScope
27 27
public abstract class AbstractPresenter<V extends ApplicationView> implements Serializable {
28 28

  
29

  
30
    private static final long serialVersionUID = 5260910510283481832L;
31

  
29 32
    public static final Logger logger = Logger.getLogger(AbstractPresenter.class);
30 33

  
31 34
	private V view;
32 35

  
33 36

  
34 37
	protected V getView() {
38
	    if(view == null){
39
            Logger.getLogger(this.getClass()).warn("CDM-VAADIN#6562: presenter " + toString() + " without view.");
40
        }
35 41
		return view;
36 42
	}
37 43

  

Also available in: Unified diff