Changeset 1280


Ignore:
Timestamp:
12/08/11 11:00:45 (9 years ago)
Author:
philsmart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/wsmodel/StatisticalUnitInformation.java

    r1223 r1280  
    2020 
    2121import java.io.Serializable; 
     22import java.util.Collections; 
    2223import java.util.List; 
    2324 
     
    8182 
    8283    /** 
    83      * @return the postprocessors 
     84     * @return the postprocessors if not null, otherwise returns an empty list. 
    8485     */ 
    8586    public List<ProcessorInformation> getPostprocessors() { 
    86         return postprocessors; 
     87        if (postprocessors!=null){ 
     88            return postprocessors; 
     89        } 
     90        else{ 
     91            return Collections.emptyList(); 
     92        } 
    8793    } 
    8894 
Note: See TracChangeset for help on using the changeset viewer.