[ 
https://issues.apache.org/jira/browse/OFBIZ-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-1366.
----------------------------------

    Resolution: Invalid
      Assignee: Jacques Le Roux

RecurrenceRule.java has been rewritten/refactored and I suppose that this 
comment was written using an older version since it was already done the 24 oct 
2007. Morevoer it seems that the concerns does not apply anymore since a 
calendar is used now for this comparaison.

> Comparaison between Integer and String in RecurrenceRule.java
> -------------------------------------------------------------
>
>                 Key: OFBIZ-1366
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1366
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: na
>            Reporter: Fabien Carrion
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>
> The mail on this link is right 
> http://mail-archives.apache.org/mod_mbox/ofbiz-user/200706.mbox/[EMAIL 
> PROTECTED]
> I just made the try and confirm this bug exists. In recurenceRule, instead of 
> having:
> if (!byMinuteList.contains(new Integer(cal.get(Calendar.MINUTE))))
> we should have
> if (!byMinuteList.contains(new String(cal.get(Calendar.MINUTE))))
> Thanks
> Fabien

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to