Project

General

Profile

« Previous | Next » 

Revision 2e4f981e

Added by Andreas Müller over 4 years ago

cleanup

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/fauEu2Cdm/FauEu2CdmImportState.java
28 28

  
29 29
    private Map<UUID, CdmBase> permanentCache = new HashMap<>();
30 30

  
31

  
32 31
    protected FauEu2CdmImportState(FauEu2CdmImportConfigurator config) {
33 32
        super(config);
34 33
    }
35 34

  
36

  
37 35
    public ICdmRepository getSourceRepository() {
38 36
        return sourceRepository;
39 37
    }
......
41 39
        this.sourceRepository = sourceRepository;
42 40
    }
43 41

  
44

  
45
    public void putPermanent(UUID uuid, CdmBase cdmBase) {
46
        permanentCache.put(uuid, cdmBase);
47
    }
48

  
49 42
    public CdmBase getPermanent(UUID uuid) {
50 43
        return permanentCache.get(uuid);
51 44
    }
52

  
53

  
45
    public void putPermanent(UUID uuid, CdmBase cdmBase) {
46
        permanentCache.put(uuid, cdmBase);
47
    }
54 48
}

Also available in: Unified diff