From: <pen...@pe...> - 2011-09-30 14:31:09
|
Author: tmorgner Date: 2011-09-30 10:31:02 -0400 (Fri, 30 Sep 2011) New Revision: 14360 Modified: tools/report-design-wizard/trunk/wizard-core/source/org/pentaho/reporting/engine/classic/wizard/WizardProcessor.java Log: PIR-393: Community wants to simplify iteration over elements, so lets make UpdateTask and iterateSection protected. Modified: tools/report-design-wizard/trunk/wizard-core/source/org/pentaho/reporting/engine/classic/wizard/WizardProcessor.java =================================================================== --- tools/report-design-wizard/trunk/wizard-core/source/org/pentaho/reporting/engine/classic/wizard/WizardProcessor.java 2011-09-21 14:12:45 UTC (rev 14359) +++ tools/report-design-wizard/trunk/wizard-core/source/org/pentaho/reporting/engine/classic/wizard/WizardProcessor.java 2011-09-30 14:31:02 UTC (rev 14360) @@ -210,7 +210,7 @@ } - private static interface UpdateTask + protected static interface UpdateTask { public void processElement(ReportElement e); } @@ -380,7 +380,7 @@ } } - private void iterateSection(final Section s, final UpdateTask task) + protected void iterateSection(final Section s, final UpdateTask task) { final int count = s.getElementCount(); for (int i = 0; i < count; i++) |