Skip to content

Commit 4788a7b

Browse files
committed
Fix Javadoc warnings in SerpApi, SerpApiHttp, and ParameterStringBuilder
1 parent 3a01d58 commit 4788a7b

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

src/main/java/serpapi/ParameterStringBuilder.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
*/
1111
public class ParameterStringBuilder
1212
{
13+
/**
14+
* Default constructor
15+
*/
16+
public ParameterStringBuilder() {
17+
}
18+
1319
/***
1420
* getParamsString
1521
* @param params search parameters

src/main/java/serpapi/SerpApi.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ private JsonObject json(String endpoint, Map<String, String> parameter) throws S
131131
}
132132

133133
/***
134+
* Get the HTTP client used for requests
135+
*
134136
* @return http client
135137
*/
136138
public SerpApiHttp getClient() {

src/main/java/serpapi/SerpApiHttp.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,27 +189,35 @@ protected void triggerSerpApiException(String content) throws SerpApiException {
189189
}
190190

191191
/**
192+
* Get the HTTP connection timeout
193+
*
192194
* @return current HTTP connection timeout
193195
*/
194196
public int getHttpConnectionTimeout() {
195197
return httpConnectionTimeout;
196198
}
197199

198200
/**
201+
* Set the HTTP connection timeout
202+
*
199203
* @param httpConnectionTimeout set HTTP connection timeout
200204
*/
201205
public void setHttpConnectionTimeout(int httpConnectionTimeout) {
202206
this.httpConnectionTimeout = httpConnectionTimeout;
203207
}
204208

205209
/**
210+
* Get the HTTP read timeout
211+
*
206212
* @return current HTTP read timeout
207213
*/
208214
public int getHttpReadTimeout() {
209215
return httpReadTimeout;
210216
}
211217

212218
/**
219+
* Set the HTTP read timeout
220+
*
213221
* @param httpReadTimeout set HTTP read timeout
214222
*/
215223
public void setHttpReadTimeout(int httpReadTimeout) {

0 commit comments

Comments
 (0)