[seam-commits] Seam SVN: r9172 - in branches/enterprise/JBPAPP_4_2_CP01/examples: numberguess/src/org/jboss/seam/example/numberguess and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Oct 2 05:03:49 EDT 2008


Author: manaRH
Date: 2008-10-02 05:03:48 -0400 (Thu, 02 Oct 2008)
New Revision: 9172

Modified:
   branches/enterprise/JBPAPP_4_2_CP01/examples/drools/src/org/jboss/seam/example/numberguess/RandomNumber.java
   branches/enterprise/JBPAPP_4_2_CP01/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java
Log:
JBPAPP-1093

Modified: branches/enterprise/JBPAPP_4_2_CP01/examples/drools/src/org/jboss/seam/example/numberguess/RandomNumber.java
===================================================================
--- branches/enterprise/JBPAPP_4_2_CP01/examples/drools/src/org/jboss/seam/example/numberguess/RandomNumber.java	2008-10-02 05:45:27 UTC (rev 9171)
+++ branches/enterprise/JBPAPP_4_2_CP01/examples/drools/src/org/jboss/seam/example/numberguess/RandomNumber.java	2008-10-02 09:03:48 UTC (rev 9172)
@@ -16,7 +16,7 @@
    @Create 
    public void begin()
    {
-      randomNumber = new Random().nextInt(100);
+      randomNumber = new Random().nextInt(100) + 1;
    }
    
    public int getValue() 

Modified: branches/enterprise/JBPAPP_4_2_CP01/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java
===================================================================
--- branches/enterprise/JBPAPP_4_2_CP01/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java	2008-10-02 05:45:27 UTC (rev 9171)
+++ branches/enterprise/JBPAPP_4_2_CP01/examples/numberguess/src/org/jboss/seam/example/numberguess/NumberGuess.java	2008-10-02 09:03:48 UTC (rev 9172)
@@ -26,7 +26,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