Skip to content

Commit 21a6c7a

Browse files
committed
Fix the javadocs build
1 parent 3d25e76 commit 21a6c7a

File tree

9 files changed

+8
-19
lines changed

9 files changed

+8
-19
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public Map<String, Object> asMap() {
104104

105105
/**
106106
* Subclasses can use this to add information that isn't always in the capabilities map.
107-
* @return
108107
*/
109108
protected int amendHashCode() {
110109
return 0;

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ public class DeviceRotation {
3737

3838
/**
3939
* Instantiate a DeviceRotation object based on three integers.
40-
*
41-
* @param x
42-
* @param y
43-
* @param z
4440
*/
4541
public DeviceRotation(int x, int y, int z) {
4642
this.x = x;
@@ -52,8 +48,6 @@ public DeviceRotation(int x, int y, int z) {
5248
/**
5349
* Instantiate a DeviceRotation object based on a HashMap object where the keys are the axis x, y,
5450
* and z respectively: x : xVal y : yVal z : zVal
55-
*
56-
* @param map
5751
*/
5852
public DeviceRotation(Map<String, Number> map) {
5953
if (map == null || !map.containsKey("x") || !map.containsKey("y") || !map.containsKey("z")) {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ public interface Rotatable {
3939

4040
/**
4141
* Changes the rotation of the browser window.
42-
*
43-
* @param rotation
4442
*/
4543
void rotate(DeviceRotation rotation);
4644

java/client/src/org/openqa/selenium/edge/EdgeDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public EdgeDriver(EdgeDriverService service, EdgeOptions options) {
147147
*
148148
* @param service The service to use.
149149
* @param capabilities The capabilities required from the EdgeDriver.
150-
* @deprecated Use {@link EdgeDriver(EdgeDriverService, EdgeOptions)}
150+
* @deprecated Use {@link #EdgeDriver(EdgeDriverService, EdgeOptions)}
151151
*/
152152
@Deprecated
153153
public EdgeDriver(EdgeDriverService service, Capabilities capabilities) {

java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ public FirefoxBinary(File pathToFirefoxBinary) {
148148
* .usingFirefoxBinary(new FirefoxBinary(new File("path/to/firefox.exe")))
149149
* .withEnvironment(ImmutableMap.of("DISPLAY", "0:0"))
150150
* .build());
151-
* @param propertyName
152-
* @param value
153151
*/
154152
@Deprecated
155153
public void setEnvironmentProperty(String propertyName, String value) {

java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ public FirefoxDriver() {
9999
}
100100

101101
/**
102-
* @deprecated Use {@link FirefoxDriver(FirefoxOptions)}.
102+
* @deprecated Use {@link #FirefoxDriver(FirefoxOptions)}.
103103
*/
104104
@Deprecated
105105
public FirefoxDriver(Capabilities desiredCapabilities) {
106106
this(new FirefoxOptions(Objects.requireNonNull(desiredCapabilities, "No capabilities seen")));
107107
}
108108

109109
/**
110-
* @deprecated Use {@link FirefoxDriver(GeckoDriverService, FirefoxOptions)}.
110+
* @deprecated Use {@link #FirefoxDriver(GeckoDriverService, FirefoxOptions)}.
111111
*/
112112
@Deprecated
113113
public FirefoxDriver(GeckoDriverService service, Capabilities desiredCapabilities) {

java/client/src/org/openqa/selenium/ie/InternetExplorerDriver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public InternetExplorerDriver() {
153153
}
154154

155155
/**
156-
* @deprecated Use {@link InternetExplorerDriver(InternetExplorerOptions)}
156+
* @deprecated Use {@link #InternetExplorerDriver(InternetExplorerOptions)}
157157
*/
158158
@Deprecated
159159
public InternetExplorerDriver(Capabilities capabilities) {
@@ -179,7 +179,7 @@ public InternetExplorerDriver(InternetExplorerDriverService service) {
179179
}
180180

181181
/**
182-
* @deprecated Use {@link InternetExplorerDriver(InternetExplorerDriverService, InternetExplorerOptions)}
182+
* @deprecated Use {@link #InternetExplorerDriver(InternetExplorerDriverService, InternetExplorerOptions)}
183183
*/
184184
@Deprecated
185185
public InternetExplorerDriver(InternetExplorerDriverService service, Capabilities capabilities) {

java/client/src/org/openqa/selenium/opera/OperaDriver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public OperaDriver(OperaDriverService service) {
132132
*
133133
* @param capabilities The capabilities required from the OperaDriver.
134134
* @see #OperaDriver(OperaDriverService, Capabilities)
135-
* @deprecated Use {@link OperaDriver(OperaOptions)} instead.
135+
* @deprecated Use {@link #OperaDriver(OperaOptions)} instead.
136136
*/
137137
@Deprecated
138138
public OperaDriver(Capabilities capabilities) {
@@ -166,7 +166,7 @@ public OperaDriver(OperaDriverService service, OperaOptions options) {
166166
*
167167
* @param service The service to use.
168168
* @param capabilities The capabilities required from the OperaDriver.
169-
* @deprecated Use {@link OperaDriver(OperaDriverService, OperaOptions)} instead.
169+
* @deprecated Use {@link #OperaDriver(OperaDriverService, OperaOptions)} instead.
170170
*/
171171
@Deprecated
172172
public OperaDriver(OperaDriverService service, Capabilities capabilities) {

java/client/src/org/openqa/selenium/remote/http/HttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public interface HttpClient {
3333
* @return the final response.
3434
* @throws IOException if an I/O error occurs.
3535
* @deprecated All call sites found set {@code followRedirects} to {@code true}. Use
36-
* @{link {@link #execute(HttpRequest)}}.
36+
* {@link #execute(HttpRequest)}.
3737
*/
3838
@Deprecated
3939
HttpResponse execute(HttpRequest request, boolean followRedirects) throws IOException;

0 commit comments

Comments
 (0)