Skip to content

Commit c856444

Browse files
User253489p0deje
authored andcommitted
Fix comment issues. (#5741)
Fix comment issues
1 parent 4f10a2a commit c856444

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

java/client/src/org/openqa/selenium/DeviceRotation.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424

2525
/**
2626
* Defines an object which represents the three dimensional plane and how a device can be rotated
27-
* about it. Each of the axis is in positive degrees on the real number scale (0 <= deg <=
27+
* about it. Each of the axes is in positive degrees on the real number scale (0 <= deg <=
2828
* 360).
2929
*
30-
* <p>Example Instantiation to rotate device to "Landscape Right": DeviceRotation(0, 0, 90);
30+
* <p>Example instantiation to rotate device to "Landscape Right": DeviceRotation(0, 0, 90);
3131
*/
3232
public class DeviceRotation {
33-
//Default orientation is portrait
33+
// The default orientation is portrait.
3434
private int x = 0;
3535
private int y = 0;
3636
private int z = 0;
@@ -46,7 +46,7 @@ public DeviceRotation(int x, int y, int z) {
4646
}
4747

4848
/**
49-
* Instantiate a DeviceRotation object based on a HashMap object where the keys are the axis x, y,
49+
* Instantiate a DeviceRotation object based on a HashMap object where the keys are the axes x, y,
5050
* and z respectively: x : xVal y : yVal z : zVal
5151
*/
5252
public DeviceRotation(Map<String, Number> map) {
@@ -75,22 +75,22 @@ private void validateParameters(int x, int y, int z) {
7575
}
7676
}
7777

78-
/** @return the x */
78+
/** @return The x. */
7979
public int getX() {
8080
return x;
8181
}
8282

83-
/** @return the y */
83+
/** @return The y. */
8484
public int getY() {
8585
return y;
8686
}
8787

88-
/** @return the z */
88+
/** @return The z. */
8989
public int getZ() {
9090
return z;
9191
}
9292

93-
/** @return returns all axis mapped to a Map */
93+
/** @return All axes mapped to a Map. */
9494
public Map<String, Integer> parameters() {
9595
HashMap<String, Integer> values = new HashMap<>();
9696
values.put("x", this.x);

0 commit comments

Comments
 (0)