[seam-commits] Seam SVN: r8600 - trunk/examples/numberguess/src/org/jboss/seam/example/numberguess.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Aug 6 08:24:01 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-08-06 08:24:01 -0400 (Wed, 06 Aug 2008)
New Revision: 8600

Modified:
   trunk/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java
Log:
JBSEAM-3223, thanks to Jozef Hartinger

Modified: trunk/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java
===================================================================
--- trunk/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java	2008-08-06 02:04:51 UTC (rev 8599)
+++ trunk/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java	2008-08-06 12:24:01 UTC (rev 8600)
@@ -25,7 +25,7 @@
    @Create
    public void begin()
    {
-      randomNumber = new Random().nextInt(100);
+      randomNumber = new Random().nextInt(100) + 1;
       guessCount = 0;
       biggest = 100;
       smallest = 1;




More information about the seam-commits mailing list