The following document contains the results of PMD's CPD 5.3.5.
File | Line |
---|---|
fr/paris/lutece/plugins/reportlauncher/web/ReportJspBean.java | 312 |
fr/paris/lutece/plugins/reportlauncher/web/ReportJspBean.java | 346 |
public String doModifyParamter( HttpServletRequest request ) { List<Parameter> listParam = new ArrayList<Parameter>( ); String paramName = request.getParameter( PARAMETER_NAME ); String paramValue = request.getParameter( PARAMETER_VALUE ); Parameter param = new Parameter( ); populate( _report, request ); if ( ( paramName != null ) && ( paramValue != null ) && !paramName.isEmpty( ) && !paramValue.isEmpty( ) ) { param.setName( paramName ); param.setValue( paramValue ); listParam.add( param ); } _report.setParameter( listParam ); // Check constraints if ( !validateBean( _report, VALIDATION_ATTRIBUTES_PREFIX ) ) { return redirect( request, VIEW_MODIFY_REPORT, PARAMETER_ID_REPORT, _report.getId( ) ); |