Project

General

Profile

« Previous | Next » 

Revision d4657a24

Added by Andreas Müller almost 10 years ago

better handling of abbreviated title cache in references, series -> seriesPart and some improvements in the reference cache strategies #4280, #4239

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/reference/ReferenceDefaultCacheStrategy.java
24 24
	private static final long serialVersionUID = 4350124746874497766L;
25 25
	@SuppressWarnings("unused")
26 26
	private static final Logger logger = Logger.getLogger(ReferenceDefaultCacheStrategy.class);
27
	
28
	/**
29
	 * Constructor
30
	 */
31
	public ReferenceDefaultCacheStrategy(){
32
		super();
33
	}
34
	public static ReferenceDefaultCacheStrategy NewInstance(){
35
		return new ReferenceDefaultCacheStrategy();
36
	}
37
	
38
	
27

  
28
	final static UUID uuid = UUID.fromString("763fe4a0-c79f-4f14-9693-631680225ec3");
29

  
39 30
	
40 31
	protected String beforeYear = ". ";
41 32
	protected String afterYear = "";
......
44 35
	private String blank = " ";
45 36
	private String comma = ",";
46 37
	private String dot =".";
38

  
39
	
40
// ****************** FACTORY *******************************/	
41
	
42
	public static ReferenceDefaultCacheStrategy NewInstance(){
43
		return new ReferenceDefaultCacheStrategy();
44
	}
45
	
46
// ***************** CONSTRUCTOR ********************************/
47
	
48
	/**
49
	 * Constructor
50
	 */
51
	private ReferenceDefaultCacheStrategy(){
52
		super();
53
	}
54

  
55
	
47 56
	
48
	final static UUID uuid = UUID.fromString("763fe4a0-c79f-4f14-9693-631680225ec3");
49 57
	
50 58

  
51 59
	@Override

Also available in: Unified diff