Project

General

Profile

Revision 591821c4

ID591821c4c6fbe7e8d3c07c54c4a47f4177c25220
Parent f2e16939
Child ee7eb9e7

Added by Andreas Kohlbecker almost 4 years ago

removng restriction from AbstractEditorAction

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/event/AbstractEditorAction.java
36 36

  
37 37
    public AbstractEditorAction(EditorActionType action, Component source, AbstractView sourceView) {
38 38
        this(action, null, source, sourceView);
39
        if (!action.equals(EditorActionType.ADD)) {
40
            throw new RuntimeException("This constructor must only be used for EditorActionType.ADD");
41
        }
42 39
    }
43 40

  
44 41
    public AbstractEditorAction(EditorActionType action, Integer entityId, Component source, AbstractView sourceView) {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)