Minor fix to getLicenses method

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131274 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-09-12 08:39:49 +00:00
parent 73a187b382
commit 6ed9d7eeff
3 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ public interface CKanUtils {
* @param chosenLicense
* @return the id on success, null otherwise
*/
String findLicenseIdByLicense(String chosenLicense);
String findLicenseIdByLicenseTitle(String chosenLicense);
/**
* Set dataset private

View File

@ -398,7 +398,7 @@ public class CKanUtilsImpl implements CKanUtils{
}
@Override
public String findLicenseIdByLicense(String chosenLicense) {
public String findLicenseIdByLicenseTitle(String chosenLicense) {
logger.debug("Requested license id");
// checks

View File

@ -65,7 +65,7 @@ public class CkanUtilsFactory {
return cache.get(scope).utils;
}
else{
logger.debug("Creating utils for scope " + scope);
logger.info("Creating CKAN LIB utils for scope " + scope);
CKanUtilsImpl utils = new CKanUtilsImpl(scope);
cache.put(scope, new CacheBean(System.currentTimeMillis(), utils));
return utils;