Project

General

Profile

« Previous | Next » 

Revision 493cdee0

Added by Andreas Müller over 3 years ago

ref #5575 refactor initialization of cache strategy (initialize when needed, not in constructor)

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/Institution.java
119 119
	 */
120 120
	protected Institution() {
121 121
		super();
122
		this.cacheStrategy = new InstitutionDefaultCacheStrategy();
123 122
	}
124 123

  
124
    @Override
125
    protected void initDefaultCacheStrategy() {
126
        this.cacheStrategy = InstitutionDefaultCacheStrategy.NewInstance();
127
    }
128

  
129
//*************** Methods ******************************/
130

  
125 131
	/**
126 132
	 * Returns the set of institution types (categories)
127 133
	 * used to describe or circumscribe <i>this</i> institution's activities.

Also available in: Unified diff