Skip to content

Commit

Permalink
[FIXED JENKINS-24041] Doen't use JDK7 methods
Browse files Browse the repository at this point in the history
  • Loading branch information
vjuranek committed Aug 4, 2014
1 parent abe5845 commit b318b9e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)
Expand Down

0 comments on commit b318b9e

Please sign in to comment.