Skip to content

Commit 381f815

Browse files
committed
Remove unused code
1 parent 036b87c commit 381f815

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

java/server/src/org/openqa/selenium/remote/server/BeginSession.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
import java.io.IOException;
3232
import java.io.InputStreamReader;
3333
import java.io.Reader;
34-
import java.nio.file.Files;
35-
import java.nio.file.Path;
3634

3735
class BeginSession implements CommandHandler {
3836

@@ -46,9 +44,6 @@ public BeginSession(ActiveSessions allSessions) {
4644

4745
@Override
4846
public void execute(HttpRequest req, HttpResponse resp) throws IOException {
49-
// Copy the capabilities to disk
50-
Path allCaps = Files.createTempFile("selenium", ".json");
51-
5247
String lengthString = req.getHeader("Content-Length");
5348
long contentLength = Long.MAX_VALUE;
5449
if (lengthString != null) {

0 commit comments

Comments
 (0)