]> git.llucax.com Git - z.facultad/75.62/c2tp1.git/commitdiff
Yo sabia que Java era groso :P
authorRicardo Markiewicz <rmarkie@fi.uba.ar>
Wed, 10 May 2006 23:29:16 +0000 (23:29 +0000)
committerRicardo Markiewicz <rmarkie@fi.uba.ar>
Wed, 10 May 2006 23:29:16 +0000 (23:29 +0000)
src/Sorteo.java

index ccf33688e3560f3bab662a623b7fb3628e97fb43..2b2741cbef141ac7d326b31b8bbbf2ad3bd2b639 100644 (file)
@@ -19,7 +19,7 @@ public class Sorteo extends Observable
        {
                while (true) {
                        /* Uso rango de 0 a 100 para que salga alguna vez :P */
-                       n = r.nextInt () % 100;
+                       n = r.nextInt (100);
                        setChanged ();
                        notifyObservers ();
                }