Changeset 1365 for raptor-client


Ignore:
Timestamp:
07/14/12 00:22:15 (8 years ago)
Author:
philsmart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/store/impl/LogFileIncrementalMemoryEventHandler.java

    r1364 r1365  
    7878     */ 
    7979    public boolean addEvent(Event event) { 
    80         if (eventNotValid(event)) { 
     80        if (eventValid(event) == false) { 
    8181            return false; 
    8282        } 
     
    105105 
    106106    /** 
    107      * Determines if the event has the present and correct attributes to be added. 
     107     * Determines if the event has the correct attributes to be added to this event handler. Currently, an event only 
     108     * requires the time of the event <code>eventTime</code> to be valid. 
    108109     *  
    109110     * @param event 
    110111     */ 
    111     private boolean eventNotValid(Event event) { 
     112    private boolean eventValid(Event event) { 
    112113        if (event.getEventTime() == null) { 
    113114            return false; 
Note: See TracChangeset for help on using the changeset viewer.