@@ -56,6 +56,7 @@ public PlacesQuery(String query) {
56
56
57
57
/**
58
58
* Clone an existing query.
59
+ *
59
60
* @param other The query to be cloned.
60
61
*/
61
62
public PlacesQuery (@ NonNull PlacesQuery other ) {
@@ -137,6 +138,7 @@ PlacesQuery setAroundRadius(Integer radius) {
137
138
138
139
/**
139
140
* Get the current radius for around latitude/longitude queries.
141
+ *
140
142
* @return Query.RADIUS_ALL if set to 'all'.
141
143
*/
142
144
public Integer getAroundRadius () {
@@ -268,7 +270,7 @@ public Type getType() {
268
270
269
271
/**
270
272
* Restrict the search results to a single language.
271
- * You can pass two letters country codes ([ISO 639-1]( https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) ).
273
+ * You can pass two letters country codes (<a href=" https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1</a> ).
272
274
*
273
275
* @param language The language used to return the results, or `null` to use all available languages.
274
276
* @return This query.
@@ -285,7 +287,8 @@ public String getLanguage() {
285
287
286
288
/**
287
289
* Restrict the search results to a specific list of countries.
288
- * You can pass two letters country codes ([ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1#Officially_assigned_code_elements)).
290
+ * You can pass two letters country codes (<a href="https://en.wikipedia.org/wiki/ISO_3166-1#Officially_assigned_code_elements">ISO 3166-1</a>).
291
+ * <p>
289
292
* Default: Search on the whole planet.
290
293
*
291
294
* @param countries The countries to restrict the search to, or `null` to search on the whole planet.
@@ -305,6 +308,7 @@ public String[] getCountries() {
305
308
306
309
/**
307
310
* Parse a query object from a URL query parameter string.
311
+ *
308
312
* @param queryParameters URL query parameter string.
309
313
* @return The parsed query object.
310
314
*/
@@ -322,14 +326,15 @@ PlacesQuery parse(@NonNull String queryParameters) {
322
326
/**
323
327
* Set a parameter in an untyped fashion.
324
328
* This low-level accessor is intended to access parameters that this client does not yet support.
325
- * @param name The parameter's name.
329
+ *
330
+ * @param name The parameter's name.
326
331
* @param value The parameter's value, or null to remove it.
327
332
* It will first be converted to a String by the `toString()` method.
328
333
* @return This instance (used to chain calls).
329
334
*/
330
335
@ Override
331
336
public @ NonNull
332
337
PlacesQuery set (@ NonNull String name , @ Nullable Object value ) {
333
- return (PlacesQuery )super .set (name , value );
338
+ return (PlacesQuery ) super .set (name , value );
334
339
}
335
340
}
0 commit comments