Project

General

Profile

« Previous | Next » 

Revision 2af0c8fd

Added by Andreas Müller about 3 years ago

cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/container/NamedAreaContainer.java
22 22
    private static final long serialVersionUID = 9150424479597481361L;
23 23

  
24 24
    /**
25
     * Creates a NamedAreaContainer containing all {@link NamedArea}s of the given {@code vocabulary} 
25
     * Creates a NamedAreaContainer containing all {@link NamedArea}s of the given {@code vocabulary}
26 26
     * in alphabetically ascending order.
27 27
     * @param vocabulary The vocabulary containing the {@link NamedArea}s to populate the container with.
28 28
     * @throws IllegalArgumentException
......
32 32
	    super(NamedArea.class);
33 33
	    List<NamedArea> namedAreas;
34 34
	    if (vocabulary.isInstanceOf(OrderedTermVocabulary.class)) {
35
	        OrderedTermVocabulary orderedVoc = CdmBase.deproxy(vocabulary, OrderedTermVocabulary.class);
35
	        OrderedTermVocabulary<NamedArea> orderedVoc = CdmBase.deproxy(vocabulary, OrderedTermVocabulary.class);
36 36
	        namedAreas = new ArrayList<>(orderedVoc.getOrderedTerms());
37 37
	        Collections.reverse(namedAreas);
38 38
	    }else {
......
52 52
	private class AlphabeticallyAscendingNamedAreaComparator implements Comparator<NamedArea>{
53 53

  
54 54
		/**
55
		 * 
55
		 *
56 56
		 * {@inheritDoc}
57 57
		 */
58 58
        @Override

Also available in: Unified diff