package org.ovirt.engine.ui.uicompat;


public class Enlistment {

    public static EventDefinition DoneEventDefinition;
    private Event doneEvent;

    protected Event getDoneEvent() {
        return doneEvent;
    }

    private Object context;

    public Object getContext() {
        return context;
    }

    static {

        DoneEventDefinition = new EventDefinition("Done", PreparingEnlistment.class); //$NON-NLS-1$
    }

    public Enlistment(Object context) {

        doneEvent = new Event(DoneEventDefinition);
        this.context = context;
    }

    public void done() {
        getDoneEvent().raise(this, EventArgs.Empty);
    }
}

package org.ovirt.engine.ui.uicompat;


public class Enlistment {

    public static EventDefinition doneEventDefinition;
    private Event doneEvent;

    protected Event getDoneEvent() {
        return doneEvent;
    }

    private Object context;

    public Object getContext() {
        return context;
    }

    static {

        doneEventDefinition = new EventDefinition("Done", PreparingEnlistment.class); //$NON-NLS-1$
    }

    public Enlistment(Object context) {

        doneEvent = new Event(doneEventDefinition);
        this.context = context;
    }

    public void done() {
        getDoneEvent().raise(this, EventArgs.Empty);
    }
}

rename member to start with lowercase in Enlistment class