[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3223) numberguess example - wrong number generated

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Wed Aug 6 05:41:08 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger updated JBSEAM-3223:
------------------------------------

    Attachment: numberguess.patch


fix

> numberguess example - wrong number generated
> --------------------------------------------
>
>                 Key: JBSEAM-3223
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3223
>             Project: Seam
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Jozef Hartinger
>            Priority: Minor
>         Attachments: numberguess.patch
>
>
> User should guess number between 1 and 100 (both inclusive) however generated pseudorandom number is between 0 (inclusive) and 100 (exclusive). This causes wrong behaviour of application if 0 is generated and also a fact that 100 is never a right guess.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list