https://issues.apache.org/bugzilla/show_bug.cgi?id=44619





--- Comment #2 from Simon Pepping <[EMAIL PROTECTED]>  2008-04-08 06:47:20 PST 
---
Created an attachment (id=21794)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21794)
A patch for the problem

This patch does as suggested: It introduces a
NumberProperty.PositiveIntegerMaker, which inherits from NumberProperty.Maker.
Its make method checks whether a numeric value can be extracted, and if so,
rounds it to an integer, and replaces values <= 0 with 1. I made this the maker
of number-columns-repeated, and made ColumnNumberPropertyMaker inherit from it.
It should become the maker of more properties, to be done later.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to