Project

General

Profile

« Previous | Next » 

Revision 14ac3831

Added by Andreas Müller over 3 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/TaxonDistributionDtoComparator.java
15 15
/**
16 16
 * @author k.luther
17 17
 * @since 28.11.2018
18
 *
19 18
 */
20 19
public class TaxonDistributionDtoComparator implements Comparator<TaxonDistributionDTO> {
21 20

  
22
    /**
23
     * {@inheritDoc}
24
     */
25 21
    @Override
26 22
    public int compare(TaxonDistributionDTO arg0, TaxonDistributionDTO arg1) {
27 23
        if (arg0 == arg1){
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/SetSecundumForSubtreeOperation.java
42 42
	private static final Logger logger = Logger.getLogger(SetSecundumForSubtreeOperation.class);
43 43

  
44 44
    @Inject
45
    UISynchronize sync;
45
    private UISynchronize sync;
46 46

  
47 47

  
48 48
    public SetSecundumForSubtreeOperation(Object source, boolean async, UUID taxonNodeUuid, EPartService partService,
......
51 51

  
52 52
	}
53 53

  
54
    /**
55
     * {@inheritDoc}
56
     */
57 54
    @Override
58 55
    protected UpdateResult doUpdateExecute(IProgressMonitor monitor, IAdaptable info) throws Exception {
59 56
        EditorUtil.checkForChanges(null, partService);
......
112 109

  
113 110
            }
114 111
        });
115

  
116

  
117 112
    }
118 113

  
119

  
120

  
121
    /**
122
     * {@inheritDoc}
123
     */
124 114
    @Override
125 115
    public void postOperation(IRemotingProgressMonitor monitor) {
126 116
        // TODO Auto-generated method stub
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/UpdateSubtreeOperation.java
1
/**
2
* Copyright (C) 2018 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
1 9
package eu.etaxonomy.taxeditor.navigation.navigator.operation;
2 10

  
3 11
import java.util.UUID;
......
19 27

  
20 28
public abstract class UpdateSubtreeOperation extends RemotingCdmUpdateOperation {
21 29

  
22
	ForSubtreeConfiguratorBase config;
30
	private ForSubtreeConfiguratorBase config;
23 31

  
24
	UUID parentUuid;
32
	private UUID parentUuid;
25 33

  
26
	 TaxonNode subtreeNode;
27
	 ITaxonNodeService taxonNodeService;
28
	 ILongRunningTasksService longRunningTaskService;
34
	private TaxonNode subtreeNode;
35
	private ITaxonNodeService taxonNodeService;
36
	private ILongRunningTasksService longRunningTaskService;
29 37

  
30
	 protected EModelService modelService = null;
38
	protected EModelService modelService = null;
31 39

  
32
	 public UpdateSubtreeOperation(Object source,
40
	public UpdateSubtreeOperation(Object source,
33 41
	            boolean async,
34 42
	            UUID taxonNodeUuid,
35 43
	            EPartService partService,
......
46 54
	        longRunningTaskService = CdmApplicationState.getLongRunningTasksService();
47 55
	        subtreeNode = CdmStore.getService(ITaxonNodeService.class).load(config.getSubtreeUuid());
48 56
	    }
49

  
50
}
57
}

Also available in: Unified diff