Delete unused code
This commit is contained in:
parent
5bff2c7341
commit
e284405e9a
|
@ -17,9 +17,6 @@
|
||||||
package org.springframework.web.reactive.socket.client;
|
package org.springframework.web.reactive.socket.client;
|
||||||
|
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
|
@ -162,12 +159,4 @@ public class ReactorNetty2WebSocketClient implements WebSocketClient {
|
||||||
return headers;
|
return headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static List<String> getAll(Iterator<CharSequence> valuesIterator) {
|
|
||||||
List<String> result = new ArrayList<>();
|
|
||||||
while (valuesIterator.hasNext()) {
|
|
||||||
result.add(valuesIterator.next().toString());
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue