From: <pen...@pe...> - 2011-05-31 13:30:03
|
Author: tmorgner Date: 2011-05-31 09:29:54 -0400 (Tue, 31 May 2011) New Revision: 14020 Modified: engines/classic/trunk/core/source/org/pentaho/reporting/engine/classic/core/parameters/DefaultReportParameterValidator.java Log: Removing unused parameter. Modified: engines/classic/trunk/core/source/org/pentaho/reporting/engine/classic/core/parameters/DefaultReportParameterValidator.java =================================================================== --- engines/classic/trunk/core/source/org/pentaho/reporting/engine/classic/core/parameters/DefaultReportParameterValidator.java 2011-05-31 12:42:10 UTC (rev 14019) +++ engines/classic/trunk/core/source/org/pentaho/reporting/engine/classic/core/parameters/DefaultReportParameterValidator.java 2011-05-31 13:29:54 UTC (rev 14020) @@ -237,7 +237,7 @@ } final ValidationMessage message = computeValidListValue - (result, listParameter, trustedParameterContext, parameterType, values); + (listParameter, trustedParameterContext, parameterType, values); if (message != null) { if (reevaluatePossible && @@ -258,16 +258,14 @@ } } - private ValidationMessage computeValidListValue(final ValidationResult result, - final ListParameter listParameter, - final ParameterContext parameterContext, - final Class parameterType, - final Object[] values) throws ReportDataFactoryException + private ValidationMessage computeValidListValue(final ListParameter listParameter, + final ParameterContext parameterContext, + final Class parameterType, + final Object[] values) throws ReportDataFactoryException { for (int i = 0; i < values.length; i++) { final Object value = values[i]; - final String parameterName = listParameter.getName(); if (value != null) { if (parameterType.isInstance(value) == false) |