Revision 5215f59f
Added by Andreas Müller over 7 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/remoting/source/CdmRemoteSource.java | ||
---|---|---|
27 | 27 |
* @return |
28 | 28 |
*/ |
29 | 29 |
public static CdmRemoteSource NewInstance() { |
30 |
return new CdmRemoteSource(DEFAULT_NAME, DEFAULT_SERVER, DEFAULT_PORT, DEFAULT_CONTEXT_PATH, DEFAULT_NOMENCLATURAL_CODE);
|
|
30 |
return new CdmRemoteSource(DEFAULT_NAME, DEFAULT_SERVER, DEFAULT_PORT, DEFAULT_CONTEXT_PATH); |
|
31 | 31 |
} |
32 | 32 |
|
33 | 33 |
/** |
... | ... | |
40 | 40 |
* @param nomenclaturalCode |
41 | 41 |
* @return |
42 | 42 |
*/ |
43 |
public static CdmRemoteSource NewInstance(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) {
|
|
44 |
return new CdmRemoteSource(name, server, port, contextPath, nomenclaturalCode);
|
|
43 |
public static CdmRemoteSource NewInstance(String name, String server, int port, String contextPath) { |
|
44 |
return new CdmRemoteSource(name, server, port, contextPath); |
|
45 | 45 |
} |
46 | 46 |
|
47 | 47 |
/** |
... | ... | |
53 | 53 |
* @param contextPath |
54 | 54 |
* @param nomenclaturalCode |
55 | 55 |
*/ |
56 |
private CdmRemoteSource(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) {
|
|
57 |
super(name, server, port, contextPath, nomenclaturalCode);
|
|
56 |
private CdmRemoteSource(String name, String server, int port, String contextPath) { |
|
57 |
super(name, server, port, contextPath); |
|
58 | 58 |
|
59 | 59 |
} |
60 | 60 |
|
Also available in: Unified diff
ref #3658 remove nomenclatural code from datasources