Revision 5ab3e456
Added by Katja Luther over 8 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/DeleteNonReferencedReferencesConfigurator.java | ||
---|---|---|
10 | 10 |
public class DeleteNonReferencedReferencesConfigurator extends ImportConfiguratorBase<DefaultImportState<DeleteNonReferencedReferencesConfigurator>, Object> implements IImportConfigurator{ |
11 | 11 |
|
12 | 12 |
private boolean doReferences = true; |
13 |
private boolean doAuthors = true; |
|
14 |
|
|
13 |
private boolean doAuthors = true;
|
|
14 |
|
|
15 | 15 |
public boolean isDoReferences() { |
16 | 16 |
return doReferences; |
17 | 17 |
} |
... | ... | |
43 | 43 |
this.setSource(destination); |
44 | 44 |
this.setDestination(destination); |
45 | 45 |
this.setDbSchemaValidation(DbSchemaValidation.UPDATE); |
46 |
|
|
46 |
|
|
47 | 47 |
} |
48 | 48 |
|
49 | 49 |
@SuppressWarnings("unused") |
... | ... | |
53 | 53 |
DeleteNonReferencedReferencesConfigurator result = new DeleteNonReferencedReferencesConfigurator(destination); |
54 | 54 |
return result; |
55 | 55 |
} |
56 |
|
|
57 |
|
|
58 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 | 59 |
@Override |
60 | 60 |
public <STATE extends ImportStateBase> STATE getNewState() { |
61 | 61 |
return (STATE) new DefaultImportState(this); |
... | ... | |
65 | 65 |
protected void makeIoClassList() { |
66 | 66 |
ioClassList = new Class[]{ |
67 | 67 |
DeleteNonReferencedreferencesUpdater.class |
68 |
}; |
|
68 |
};
|
|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
@Override |
Also available in: Unified diff
Revert "minor"
This reverts commit 64367d007ba404e037ccc2b6794b46c4f1f321bc.