We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac9264 commit 92240ceCopy full SHA for 92240ce
java/client/src/org/openqa/selenium/DeviceRotation.java
@@ -52,7 +52,7 @@ public DeviceRotation(int x, int y, int z) {
52
public DeviceRotation(Map<String, Number> map) {
53
if (map == null || !map.containsKey("x") || !map.containsKey("y") || !map.containsKey("z")) {
54
throw new IllegalArgumentException(
55
- "Could not initialize DeviceRotation with map given: " + map.toString());
+ "Could not initialize DeviceRotation with map given: " + String.valueOf(map));
56
}
57
this.x = map.get("x").intValue();
58
this.y = map.get("y").intValue();
0 commit comments