Skip to content

Commit 9b82d40

Browse files
committed
Updated docs with information about the builder
1 parent 0a62067 commit 9b82d40

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
0.2.0 (2013-06-13)
5+
------------------
6+
7+
* Replaced the public constructor on `Client` with a `Builder` class.
8+
49
0.1.1 (2013-06-10)
510
------------------
611

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To do this, add the dependency to your pom.xml:
3333
<dependency>
3434
<groupId>com.maxmind.geoip2</groupId>
3535
<artifactId>geoip2</artifactId>
36-
<version>0.1.1</version>
36+
<version>0.2.0</version>
3737
</dependency>
3838
```
3939

@@ -54,7 +54,7 @@ See the API documentation for more details.
5454

5555
```java
5656

57-
Client client = new Client(42, "abcfe12345");
57+
Client client = new Client.Builder(42, "abcfe12345").build();
5858

5959
OmniLookup omni = client.omni(InetAddress.getByName("24.24.24.24"));
6060

0 commit comments

Comments
 (0)