From e106dff21911f0ffd3096bb069a648eaa964f7eb Mon Sep 17 00:00:00 2001 From: bdc34 Date: Thu, 8 Apr 2010 18:44:25 +0000 Subject: [PATCH] merging revision 4685 --- .../webapp/edit/n3editing/BasicValidation.java | 4 ---- webapp/web/edit/processRdfForm2.jsp | 13 +------------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/BasicValidation.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/BasicValidation.java index 3d52e2658..fb42da030 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/BasicValidation.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/BasicValidation.java @@ -80,8 +80,6 @@ public class BasicValidation { try{ if( literal != null ){ value = literal.getString(); - System.out.println("get data type uri " + literal.asNode().getLiteralDatatype().getURI()); - } }catch(Throwable th){ log.debug("could not convert literal to string" , th); @@ -167,7 +165,6 @@ public class BasicValidation { //Date not past validation if( "dateNotPast".equalsIgnoreCase(validationType)){ - System.out.println("date not past - Value " + value); //if( ! past (value) ) // return "date must not be in the past"; //Current date @@ -181,7 +178,6 @@ public class BasicValidation { yearParamStr = value.substring(0, yearDash); monthParamStr = value.substring(yearDash + 1, monthDash); dayParamStr = value.substring(monthDash + 1, value.length()); - System.out.println("Year param str " + yearParamStr + " - MonthPAram:" + monthParamStr + " - day:" + dayParamStr); inputC.set(Integer.parseInt(yearParamStr), Integer.parseInt(monthParamStr) - 1, Integer.parseInt(dayParamStr)); if(inputC.before(c)) { return this.DATE_NOT_PAST_MSG; diff --git a/webapp/web/edit/processRdfForm2.jsp b/webapp/web/edit/processRdfForm2.jsp index 36b1234ae..f8dfd803d 100644 --- a/webapp/web/edit/processRdfForm2.jsp +++ b/webapp/web/edit/processRdfForm2.jsp @@ -73,18 +73,7 @@ are well formed. * we have to make a copy. */ Map queryParameters = null; queryParameters = vreq.getParameterMap(); - Iterator it = queryParameters.entrySet().iterator(); - while (it.hasNext()) { - Map.Entry pairs = (Map.Entry)it.next(); - String[] value= (String[]) pairs.getValue(); - System.out.println(pairs.getKey() + " = "); - if(value != null && value.length > 0 ) { - int i; - for(i = 0; i < value.length; i++) { - System.out.println(" " + value[i]); - } - } - } + List errorMessages = new ArrayList(); EditConfiguration editConfig = EditConfiguration.getConfigFromSession(session,vreq,queryParameters);