jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1209560 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/server/BoundaryInputStreamTest.java
Date Fri, 02 Dec 2011 16:24:52 GMT
Author: thomasm
Date: Fri Dec  2 16:24:48 2011
New Revision: 1209560

URL: http://svn.apache.org/viewvc?rev=1209560&view=rev
Log:
Simplify constructing a random generator.

Modified:
    jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/server/BoundaryInputStreamTest.java

Modified: jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/server/BoundaryInputStreamTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/server/BoundaryInputStreamTest.java?rev=1209560&r1=1209559&r2=1209560&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/server/BoundaryInputStreamTest.java
(original)
+++ jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/server/BoundaryInputStreamTest.java
Fri Dec  2 16:24:48 2011
@@ -28,8 +28,8 @@ import org.apache.jackrabbit.mk.util.IOU
 public class BoundaryInputStreamTest extends TestCase {
 
     private static final String BOUNDARY = "------ClientFormBoundaryHB5WJrSAPZjfwtqt--";
-    
-    private static final Random RANDOM = new Random(System.currentTimeMillis());
+
+    private static final Random RANDOM = new Random();
 
     @Override
     protected void setUp() throws Exception {



Mime
View raw message