Project

General

Profile

« Previous | Next » 

Revision 5f989c47

Added by Andreas Müller about 11 years ago

update ReferenceFactory method

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/synthesysImport/SynthesysCacheActivator.java
146 146
		
147 147
		tx = app.startTransaction();
148 148
		try {
149
			ReferenceFactory refFactory = ReferenceFactory.newInstance();
150
			Reference sec = refFactory.newDatabase();
149
			Reference<?> sec = ReferenceFactory.newDatabase();
151 150
			sec.setTitleCache("SYNTHESYS CACHE DATA", true);
152 151

  
153 152
			/**
154 153
			 * SPECIMEN OR OBSERVATION OR LIVING
155 154
			 */
156
			DerivedUnitBase derivedThing = null;
155
			DerivedUnitBase<?> derivedThing = null;
157 156
			//create specimen
158 157
			if (this.recordBasis != null){
159 158
				if (this.recordBasis.toLowerCase().startsWith("s")) {//specimen
......
168 167
			}
169 168
			if (derivedThing == null) derivedThing = Observation.NewInstance();
170 169

  
171
			TaxonNameBase taxonName = null;
170
			TaxonNameBase<?,?> taxonName = null;
172 171
			Taxon taxon = null;
173 172
			DeterminationEvent determinationEvent = null;
174 173
			List<TaxonNameBase> names = null;

Also available in: Unified diff