added some log.isDebugEnabled checks. No Jira issue.
This commit is contained in:
parent
dfb1b05691
commit
39062cb5e2
4 changed files with 12 additions and 4 deletions
|
@ -120,7 +120,9 @@ public class GeoFocusMapLocations extends AbstractAjaxResponder {
|
|||
response = response.substring(0, response.lastIndexOf(","));
|
||||
}
|
||||
response += " ]";
|
||||
log.debug(response);
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug(response);
|
||||
}
|
||||
return response;
|
||||
} catch (Exception e) {
|
||||
log.error("Failed geographic focus locations", e);
|
||||
|
|
|
@ -44,7 +44,9 @@ public class ManageGrantsForIndividualController extends FreemarkerHttpServlet {
|
|||
body.put("subjectUri", subjectUri);
|
||||
|
||||
HashMap<String, List<Map<String,String>>> grants = getGrants(subjectUri, vreq);
|
||||
log.debug("grants = " + grants);
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug("grants = " + grants);
|
||||
}
|
||||
body.put("grants", grants);
|
||||
|
||||
List<String> allSubclasses = getAllSubclasses(grants);
|
||||
|
|
|
@ -44,7 +44,9 @@ public class ManagePeopleForOrganizationController extends FreemarkerHttpServlet
|
|||
body.put("subjectUri", subjectUri);
|
||||
|
||||
HashMap<String, List<Map<String,String>>> people = getPeople(subjectUri, vreq);
|
||||
log.debug("people = " + people);
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug("people = " + people);
|
||||
}
|
||||
body.put("people", people);
|
||||
|
||||
List<String> allSubclasses = getAllSubclasses(people);
|
||||
|
|
|
@ -44,7 +44,9 @@ public class ManagePublicationsForIndividualController extends FreemarkerHttpSer
|
|||
body.put("subjectUri", subjectUri);
|
||||
|
||||
HashMap<String, List<Map<String,String>>> publications = getPublications(subjectUri, vreq);
|
||||
log.debug("publications = " + publications);
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug("publications = " + publications);
|
||||
}
|
||||
body.put("publications", publications);
|
||||
|
||||
List<String> allSubclasses = getAllSubclasses(publications);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue