Ignore:
Timestamp:
12/12/17 13:44:36 (7 years ago)
Author:
pharms
Message:
  • solved some findbugs issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/Event.java

    r2218 r2252  
    1616 
    1717import java.io.Serializable; 
     18import java.util.Collections; 
    1819import java.util.HashMap; 
    1920import java.util.LinkedList; 
     
    307308        } 
    308309    } 
     310     
     311    /** 
     312     * <p> 
     313     * Returns a map containing the parameters attached to the event. It returns null, if there 
     314     * are no parameters. 
     315     * </p> 
     316     */ 
     317    public Map<String, String> getParameters() { 
     318        if (parameters == null) { 
     319            return null; 
     320        } 
     321        else { 
     322            return Collections.unmodifiableMap(parameters); 
     323        } 
     324    } 
    309325 
    310326    /** 
Note: See TracChangeset for help on using the changeset viewer.