Removing some debug output

This commit is contained in:
hjk54 2010-06-22 19:37:06 +00:00
parent 218d3dfa3c
commit c9c3bf4e17
4 changed files with 2 additions and 5 deletions

View file

@ -29,7 +29,7 @@ public class AboutController extends VitroHttpServlet {
request.setAttribute("aboutText", portal.getAboutText()); request.setAttribute("aboutText", portal.getAboutText());
request.setAttribute("acknowledgeText", portal.getAcknowledgeText()); request.setAttribute("acknowledgeText", portal.getAcknowledgeText());
request.setAttribute("bodyJsp", "/about.jsp"); request.setAttribute("bodyJsp", "/about.jsp");
RequestDispatcher rd = RequestDispatcher rd =
request.getRequestDispatcher(Controllers.BASIC_JSP); request.getRequestDispatcher(Controllers.BASIC_JSP);
rd.forward(request, response); rd.forward(request, response);

View file

@ -107,7 +107,6 @@ public class PropertyEditLinks extends TagSupport{
} }
Individual entity = (Individual)pageContext.getRequest().getAttribute("entity"); Individual entity = (Individual)pageContext.getRequest().getAttribute("entity");
LinkStruct[] links = null; LinkStruct[] links = null;
//get context prefix needs to end with a slash like "/vivo/" or "/" //get context prefix needs to end with a slash like "/vivo/" or "/"

View file

@ -81,7 +81,6 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
}else{ }else{
log.debug("Found editform in http parameters."); log.debug("Found editform in http parameters.");
} }
request.setAttribute("subjectUri", subjectUri); request.setAttribute("subjectUri", subjectUri);
request.setAttribute("subjectUriJson", MiscWebUtils.escape(subjectUri)); request.setAttribute("subjectUriJson", MiscWebUtils.escape(subjectUri));
if (predicateUri != null) { if (predicateUri != null) {
@ -99,7 +98,6 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
request.setAttribute("objectUri", objectUri); request.setAttribute("objectUri", objectUri);
request.setAttribute("objectUriJson", MiscWebUtils.escape(objectUri)); request.setAttribute("objectUriJson", MiscWebUtils.escape(objectUri));
} }
if( typeOfNew != null ) if( typeOfNew != null )
request.setAttribute("typeOfNew", typeOfNew); request.setAttribute("typeOfNew", typeOfNew);
@ -182,7 +180,6 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
boolean isForwardToCreateNew = boolean isForwardToCreateNew =
( objectProp != null && objectProp.getOfferCreateNewOption() && objectProp.getSelectFromExisting() == false) ( objectProp != null && objectProp.getOfferCreateNewOption() && objectProp.getSelectFromExisting() == false)
|| ( objectProp != null && objectProp.getOfferCreateNewOption() && "create".equals(command)); || ( objectProp != null && objectProp.getOfferCreateNewOption() && "create".equals(command));
if (isForwardToCreateNew) { if (isForwardToCreateNew) {
request.setAttribute("isForwardToCreateNew", new Boolean(true)); request.setAttribute("isForwardToCreateNew", new Boolean(true));

View file

@ -29,6 +29,7 @@
VClass rangeClass = wdf.getVClassDao().getVClassByURI( RANGE_CLASS ); VClass rangeClass = wdf.getVClassDao().getVClassByURI( RANGE_CLASS );
if( rangeClass == null ) log.debug("Cannot find class for range for property." if( rangeClass == null ) log.debug("Cannot find class for range for property."
+ " Looking for " + RANGE_CLASS); + " Looking for " + RANGE_CLASS);
request.setAttribute("rangeClassUriJson", MiscWebUtils.escape(RANGE_CLASS)); request.setAttribute("rangeClassUriJson", MiscWebUtils.escape(RANGE_CLASS));
request.setAttribute("predicateUriJson", MiscWebUtils.escape(PREDICATE)); request.setAttribute("predicateUriJson", MiscWebUtils.escape(PREDICATE));