Browse Source

Merge branch '5.2.x'

pull/25357/head
Sam Brannen 6 years ago
parent
commit
362e228142
  1. 4
      spring-core/src/main/java/org/springframework/util/SocketUtils.java

4
spring-core/src/main/java/org/springframework/util/SocketUtils.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -54,7 +54,7 @@ public class SocketUtils { @@ -54,7 +54,7 @@ public class SocketUtils {
public static final int PORT_RANGE_MAX = 65535;
private static final Random random = new Random(System.currentTimeMillis());
private static final Random random = new Random(System.nanoTime());
/**

Loading…
Cancel
Save