Index: trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
===================================================================
--- trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java	(revision 11276)
+++ trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java	(revision 11324)
@@ -15,7 +15,9 @@
 import java.io.PrintWriter;
 import java.nio.charset.StandardCharsets;
+import java.security.SecureRandom;
 import java.text.MessageFormat;
 import java.util.ArrayList;
 import java.util.Locale;
+import java.util.Random;
 import java.util.logging.Logger;
 
@@ -39,7 +41,10 @@
 import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+
 /**
  * Unit tests of {@link MultiFetchServerObjectReader}.
  */
+@SuppressFBWarnings(value = "CRLF_INJECTION_LOGS")
 public class MultiFetchServerObjectReaderTest {
     private static Logger logger = Logger.getLogger(MultiFetchServerObjectReader.class.getName());
@@ -59,4 +64,5 @@
         DataSet ds = new DataSet();
         ds.setVersion("0.6");
+        Random rand = new SecureRandom();
 
         int numNodes = 1000;
@@ -81,6 +87,6 @@
         for (int i = 0; i < numWays; i++) {
             Way w = new Way();
-            int numNodesInWay = 2 + (int) Math.round(Math.random() * 5);
-            int start = (int) Math.round(Math.random() * numNodes);
+            int numNodesInWay = 2 + (int) Math.round(rand.nextDouble() * 5);
+            int start = (int) Math.round(rand.nextDouble() * numNodes);
             for (int j = 0; j < numNodesInWay; j++) {
                 int idx = (start + j) % numNodes;
@@ -98,6 +104,6 @@
             Relation r = new Relation();
             r.put("name", "relation-" +i);
-            int numNodesInRelation = (int) Math.round(Math.random() * 10);
-            int start = (int) Math.round(Math.random() * numNodes);
+            int numNodesInRelation = (int) Math.round(rand.nextDouble() * 10);
+            int start = (int) Math.round(rand.nextDouble() * numNodes);
             for (int j = 0; j < numNodesInRelation; j++) {
                 int idx = (start + j) % 500;
@@ -105,6 +111,6 @@
                 r.addMember(new RelationMember("role-" + j, n));
             }
-            int numWaysInRelation = (int) Math.round(Math.random() * 10);
-            start = (int) Math.round(Math.random() * numWays);
+            int numWaysInRelation = (int) Math.round(rand.nextDouble() * 10);
+            start = (int) Math.round(rand.nextDouble() * numWays);
             for (int j = 0; j < numWaysInRelation; j++) {
                 int idx = (start + j) % 500;
Index: trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
===================================================================
--- trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java	(revision 11276)
+++ trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java	(revision 11324)
@@ -44,8 +44,11 @@
 import org.openstreetmap.josm.tools.Logging;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+
 /**
  * Reads primitives referring to a particular primitive (ways including a node, relations referring to a relation)
  * @since 1806
  */
+@SuppressFBWarnings(value = "CRLF_INJECTION_LOGS")
 public class OsmServerBackreferenceReaderTest {
     private static final Logger logger = Logger.getLogger(OsmServerBackreferenceReader.class.getName());
