Ignore:
Timestamp:
2017-04-05T20:13:40+12:00 (7 years ago)
Author:
ak19
Message:

Minor changes ahead of more major ones. Explicitly marking ConstructionEvent members immutable by declaring them final, to make them thread safe (to make them safe to share across multiple threads).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/ConstructionEvent.java

    r5148 r31572  
    1010    private static final int EVENT_ID = RESERVED_ID_MAX+77;
    1111    /** The status associated with the event. */
    12     private int status = -1;
     12    private final int status;
    1313    /** Any message associated with this event. */
    14     private String message = null;
     14    private final String message;
    1515    /* Constructor.
    1616     * @param source The <strong>CollectionConstructor</strong> that fired this message.
Note: See TracChangeset for help on using the changeset viewer.