Skip to content
Permalink
Browse files
[FIXED JENKINS-24041] Doen't use JDK7 methods
  • Loading branch information
vjuranek committed Aug 4, 2014
1 parent abe5845 commit b318b9eba29b7f62aef335e834a11b935b4aded2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -49,7 +49,7 @@ public static boolean waitForPort(String host, int port) {
public static Map<String, List<Integer>> parsePorts(String waitPorts) throws IllegalArgumentException,
NumberFormatException {
Map<String, List<Integer>> containers = new HashMap<String, List<Integer>>();
String[] containerPorts = waitPorts.split(System.lineSeparator());
String[] containerPorts = waitPorts.split(System.getProperty("line.separator"));
for (String container : containerPorts) {
String[] idPorts = container.split(" ", 2);
if (idPorts.length < 2)

0 comments on commit b318b9e

Please sign in to comment.