Project

General

Profile

« Previous | Next » 

Revision 2837fda6

Added by Andreas Müller over 6 years ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/Feature.java
129 129

  
130 130
	@ManyToMany(fetch = FetchType.LAZY)
131 131
    @JoinTable(name="DefinedTermBase_StatisticalMeasure")
132
	private final Set<StatisticalMeasure> recommendedStatisticalMeasures = new HashSet<StatisticalMeasure>();
132
	private final Set<StatisticalMeasure> recommendedStatisticalMeasures = new HashSet<>();
133 133

  
134 134
	/* for M:M see #4843 */
135 135
	@ManyToMany(fetch = FetchType.LAZY)
136 136
	@JoinTable(name="DefinedTermBase_SupportedCategoricalEnumeration")
137
	private final Set<TermVocabulary<State>> supportedCategoricalEnumerations = new HashSet<TermVocabulary<State>>();
137
	private final Set<TermVocabulary<State>> supportedCategoricalEnumerations = new HashSet<>();
138 138

  
139 139

  
140 140
	@ManyToMany(fetch = FetchType.LAZY)
141 141
    @JoinTable(name="DefinedTermBase_MeasurementUnit")
142
	private final Set<MeasurementUnit> recommendedMeasurementUnits = new HashSet<MeasurementUnit>();
142
	private final Set<MeasurementUnit> recommendedMeasurementUnits = new HashSet<>();
143 143

  
144 144

  
145 145
    //copy from RelationshipTermBase
......
151 151
    )
152 152
    @Cascade({CascadeType.SAVE_UPDATE, CascadeType.MERGE, CascadeType.DELETE})
153 153
//    @IndexedEmbedded(depth = 2)
154
    private Set<Representation> inverseRepresentations = new HashSet<Representation>();
154
    private Set<Representation> inverseRepresentations = new HashSet<>();
155 155

  
156 156
    private static final UUID uuidUnknown = UUID.fromString("910307f1-dc3c-452c-a6dd-af5ac7cd365c");
157 157
    public static final UUID uuidDescription = UUID.fromString("9087cdcd-8b08-4082-a1de-34c9ba9fb493");

Also available in: Unified diff