Ignore:
Timestamp:
04/29/13 16:29:53 (11 years ago)
Author:
pharms
Message:
  • remove a find bugs warning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEqualityRuleManager.java

    r1154 r1189  
    3232 */ 
    3333public class TaskEqualityRuleManager { 
     34     
     35    /** 
     36     * <p> 
     37     * the singleton instance of this class 
     38     * </p> 
     39     */ 
     40    private static final TaskEqualityRuleManager instance = new TaskEqualityRuleManager(); 
    3441 
    3542    /** 
     
    4350     * <p> 
    4451     * initializes the task equality rule manager by filling the internal list of comparison rules. 
    45      * This method must be called before any other method is called on the rule manager. 
    46      * </p> 
    47      */ 
    48     public void init() { 
     52     * </p> 
     53     */ 
     54    private TaskEqualityRuleManager() { 
    4955        mRuleIndex = new ArrayList<TaskComparisonRule>(); 
    5056        mRuleIndex.add(new TaskIdentityRule()); 
     
    5662        mRuleIndex.add(new TaskAndIterationComparisonRule(this)); 
    5763        mRuleIndex.add(new TaskAndSelectionComparisonRule(this)); 
     64    } 
     65 
     66 
     67    /** 
     68     * <p> 
     69     * returns the singleton instance of this class 
     70     * </p> 
     71     *  
     72     * @return as described 
     73     */ 
     74    public static TaskEqualityRuleManager getInstance() { 
     75        return instance; 
    5876    } 
    5977 
Note: See TracChangeset for help on using the changeset viewer.