Ignore:
Timestamp:
2003-08-18T13:50:54+12:00 (21 years ago)
Author:
kjdon
Message:

code style consistency check - class variables no longer end in _

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java

    r4852 r5148  
    1111
    1212    /** the site in which building is to take place */
    13     protected String site_home_ = null;
     13    protected String site_home = null;
    1414    /** the name of the collection */
    15     protected String collection_name_ = null;
     15    protected String collection_name = null;
    1616    /** the stage of construction */
    17     protected int process_type_ = -1;
     17    protected int process_type = -1;
    1818    /** other arguments/parameters for the construction process - in a paramList */
    19     protected Element process_params_ = null;
     19    protected Element process_params = null;
    2020    /** the list of listeners for the process */
    21     protected EventListenerList listeners_ = null;
     21    protected EventListenerList listeners = null;
    2222    /** A flag used to determine if this process has been asked to cancel. */
    23     protected boolean cancel_ = false;
     23    protected boolean cancel = false;
    2424   
    2525    public CollectionConstructor(String name) {
    2626    super(name);
    27     listeners_ = new EventListenerList();
     27    this.listeners = new EventListenerList();
    2828    }
    2929   
     
    3434    }
    3535    public void stopAction() {
    36     cancel_ = true;
     36    this.cancel = true;
    3737    }
    3838   
    3939    public void setActionType(int type) {
    40     process_type_ = type;
     40    this.process_type = type;
    4141    }
    4242    public void setSiteHome(String site_home) {
    43     site_home_ = site_home;
     43    this.site_home = site_home;
    4444    }
    4545    public void setCollectionName(String coll_name) {
    46     collection_name_ = coll_name;
     46    this.collection_name = coll_name;
    4747    }
    4848    public void setProcessParams(Element params) {
    49     process_params_ = params;
     49    this.process_params = params;
    5050    }
    5151    public boolean addListener(ConstructionListener listener) {
    52     listeners_.add(ConstructionListener.class, listener);
     52    this.listeners.add(ConstructionListener.class, listener);
    5353    return true;
    5454    }
    5555    public boolean removeListener(ConstructionListener listener) {
    56     listeners_.remove(ConstructionListener.class, listener);
     56    this.listeners.remove(ConstructionListener.class, listener);
    5757    return true;
    5858    }
    5959
    6060    protected void sendProcessBegun(ConstructionEvent evt) {
    61     Object[] concerned = listeners_.getListenerList();
     61    Object[] concerned = this.listeners.getListenerList();
    6262    for(int i = 0; i < concerned.length ; i+=2) {
    6363        if(concerned[i] == ConstructionListener.class) {
     
    6767    }
    6868    protected void sendProcessComplete(ConstructionEvent evt) {
    69     Object[] concerned = listeners_.getListenerList();
     69    Object[] concerned = this.listeners.getListenerList();
    7070    for(int i = 0; i < concerned.length ; i+=2) {
    7171        if(concerned[i] == ConstructionListener.class) {
     
    7777    protected void sendProcessStatus(ConstructionEvent evt) {
    7878
    79     Object[] concerned = listeners_.getListenerList();
     79    Object[] concerned = this.listeners.getListenerList();
    8080    for(int i = 0; i < concerned.length ; i+=2) {
    8181        if(concerned[i] == ConstructionListener.class) {
     
    8686    protected void sendMessage(ConstructionEvent evt) {
    8787
    88     Object[] concerned = listeners_.getListenerList();
     88    Object[] concerned = this.listeners.getListenerList();
    8989    for(int i = 0; i < concerned.length ; i+=2) {
    9090        if(concerned[i] == ConstructionListener.class) {
Note: See TracChangeset for help on using the changeset viewer.