Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from jugalps/patch-1
Browse files Browse the repository at this point in the history
Setting limit throws IllegalFormatConversionException
  • Loading branch information
Jérémie committed Jan 18, 2015
2 parents d86fa32 + 29d1e14 commit 01c3da3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class NominatimSearchRequest extends NominatimRequest {
private List<String> excludePlaceIds;

/** Limit the number of returned results. */
@QueryParameter("limit=%d")
@QueryParameter("limit=%s")
private Integer limit;

/** Choose output geometry format. */
Expand Down Expand Up @@ -345,4 +345,4 @@ public PolygonFormat getPolygonFormat() {
public void setPolygonFormat(PolygonFormat polygonFormat) {
this.polygonFormat = polygonFormat;
}
}
}

0 comments on commit 01c3da3

Please sign in to comment.