Revision 9718c259
Added by Andreas Müller over 4 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/caryophyllales/DeleteNonReferencedReferences.java | ||
---|---|---|
34 | 34 |
return result; |
35 | 35 |
} |
36 | 36 |
|
37 |
/** |
|
38 |
* @param args |
|
39 |
*/ |
|
40 | 37 |
public static void main(String[] args) { |
41 | 38 |
ICdmDataSource destination = CdmDestinations.chooseDestination(args) != null ? CdmDestinations.chooseDestination(args) : cdmDestination; |
42 | 39 |
|
43 | 40 |
System.out.println("Start deleting non referenced objects for "+ destination.getDatabase() + "..."); |
44 | 41 |
DeleteNonReferencedReferences me = new DeleteNonReferencedReferences(); |
45 | 42 |
me.doInvoke(destination); |
46 |
|
|
43 |
System.exit(0); |
|
47 | 44 |
} |
48 |
|
|
49 |
} |
|
50 |
|
|
45 |
} |
Also available in: Unified diff
minor