File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
java/src/org/openqa/selenium/remote Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public class Response {
25
25
26
26
private volatile Object value ;
27
27
private volatile String sessionId ;
28
+ @ Deprecated //(forRemoval = true)
28
29
private volatile Integer status ;
29
30
private volatile String state ;
30
31
@@ -34,10 +35,12 @@ public Response(SessionId sessionId) {
34
35
this .sessionId = String .valueOf (sessionId );
35
36
}
36
37
38
+ @ Deprecated //(forRemoval = true)
37
39
public Integer getStatus () {
38
40
return status ;
39
41
}
40
42
43
+ @ Deprecated //(forRemoval = true)
41
44
public void setStatus (Integer status ) {
42
45
this .status = status ;
43
46
}
@@ -69,8 +72,8 @@ public String getSessionId() {
69
72
@ Override
70
73
public String toString () {
71
74
return String .format (
72
- "(Response: SessionID: %s, Status : %s, Value: %s)" ,
73
- getSessionId (), getStatus (), getValue ());
75
+ "(Response: SessionID: %s, State : %s, Value: %s)" ,
76
+ getSessionId (), getState (), getValue ());
74
77
}
75
78
76
79
@ Override
You can’t perform that action at this time.
0 commit comments