Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC596DC41 for ; Tue, 21 Aug 2012 14:16:10 +0000 (UTC) Received: (qmail 39990 invoked by uid 500); 21 Aug 2012 14:16:10 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 39906 invoked by uid 500); 21 Aug 2012 14:16:10 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 39898 invoked by uid 99); 21 Aug 2012 14:16:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2012 14:16:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.74.71.27] (HELO eir.is.scarlet.be) (193.74.71.27) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2012 14:16:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1345558542; bh=WpIG760O+Hqonxb7sw8y0DRg8+u5MoPyapswsqkcapM=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=NMtQw3DhYKE50q88YcOp+fD0n/rEk/lvpxQbAGAzl3QnN32YLNtUxgoJimvopHcwy f29AUzO94QdK7KI2NPTx3SfXdSuCG3Z5s0SFjwBEFn6K4XfopAJhvkJAeO6dEhvyZW f/rX/fqMCWwSOveLF7Icv0SU9jwugzB2xgt1a4GQ= Received: from mail.harfang.homelinux.org (ip-213-49-249-219.dsl.scarlet.be [213.49.249.219]) by eir.is.scarlet.be (8.14.5/8.14.5) with ESMTP id q7LEFfON009606 for ; Tue, 21 Aug 2012 16:15:41 +0200 X-Scarlet: d=1345558541 c=213.49.249.219 Received: from localhost (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 25A70617A7 for ; Tue, 21 Aug 2012 16:15:41 +0200 (CEST) Received: from mail.harfang.homelinux.org ([192.168.20.11]) by localhost (mail.harfang.homelinux.org [192.168.20.11]) (amavisd-new, port 10024) with ESMTP id m6bcvkF0Q1wc for ; Tue, 21 Aug 2012 16:15:40 +0200 (CEST) Received: from dusk.harfang.homelinux.org (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 3074A61764 for ; Tue, 21 Aug 2012 16:15:39 +0200 (CEST) Received: from eran by dusk.harfang.homelinux.org with local (Exim 4.77) (envelope-from ) id 1T3pF5-00072l-Il for dev@commons.apache.org; Tue, 21 Aug 2012 16:15:39 +0200 Date: Tue, 21 Aug 2012 16:15:37 +0200 From: Gilles Sadowski To: dev@commons.apache.org Subject: Re: svn commit: r1375192 - in /commons/proper/math/trunk/src: changes/ main/java/org/apache/commons/math3/random/ Message-ID: <20120821141537.GE20488@dusk.harfang.homelinux.org> Mail-Followup-To: dev@commons.apache.org References: <20120820195358.B301623888E4@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120820195358.B301623888E4@eris.apache.org> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.21 (2010-09-15) X-DCC-scarlet.be-Metrics: eir 20002; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: clamav-milter 0.97.1-exp at eir X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hi. > [...] > > Added: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java > URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java?rev=1375192&view=auto > ============================================================================== > --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java (added) > +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java Mon Aug 20 19:53:57 2012 > [...] > + * > + * @version $Id$ > + */ > +public class RandomDataGenerator implements RandomData, Serializable { > + > + /** Serializable version identifier */ > + private static final long serialVersionUID = -626730818244969716L; > + > + /** underlying random number generator */ > + private RandomGenerator rand = null; > + > + /** underlying secure random number generator */ > + private SecureRandom secRand = null; Should this class be "Serializable"? Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org