constructor is now protected to enable the subclass to use it
This commit is contained in:
parent
c3a94d9185
commit
77cc958ac0
|
@ -52,10 +52,10 @@ public class CatalogueConfiguration {
|
|||
return contextName.toLowerCase().replace(" ", "_");
|
||||
}
|
||||
|
||||
private CatalogueConfiguration() {
|
||||
protected CatalogueConfiguration() {
|
||||
this.supportedOrganizations = new HashSet<>();
|
||||
|
||||
/* CKAN URL and sysAdminToken can only be retrieved from the IS*/
|
||||
/* CKAN URL and sysAdminToken can only be retrieved from the IS */
|
||||
this.ckanURL = null;
|
||||
this.sysAdminToken = null;
|
||||
|
||||
|
@ -63,6 +63,7 @@ public class CatalogueConfiguration {
|
|||
this.notificationToUsersEnabled = false; // default is false
|
||||
|
||||
this.moderationEnabled = false; // default is false
|
||||
|
||||
}
|
||||
|
||||
public CatalogueConfiguration(String context) {
|
||||
|
@ -85,7 +86,7 @@ public class CatalogueConfiguration {
|
|||
return sysAdminToken;
|
||||
}
|
||||
|
||||
public void setSysAdminToken(String sysAdminToken) throws Exception {
|
||||
public void setSysAdminToken(String sysAdminToken) {
|
||||
this.sysAdminToken = sysAdminToken;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue