File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/main/java/com/whoisxmlapi/whoisapi/model Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ The java library for the [Whois XML API service](https://whois.whoisxmlapi.com/)
1818```
1919``` groovy
2020 dependencies {
21- implementation 'com.whoisxmlapi:whois-api-java:v1.0.4 '
21+ implementation 'com.whoisxmlapi:whois-api-java:v1.1.0 '
2222 }
2323```
2424
@@ -36,7 +36,7 @@ The java library for the [Whois XML API service](https://whois.whoisxmlapi.com/)
3636 <dependency >
3737 <groupId >com.whoisxmlapi</groupId >
3838 <artifactId >whois-api-java</artifactId >
39- <version >v1.0.4 </version >
39+ <version >v1.1.0 </version >
4040 </dependency >
4141```
4242### Jar files
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ sourceCompatibility = 1.8
77targetCompatibility = 1.8
88
99group ' com.whoisxmlapi'
10- version ' 1.0.4 '
10+ version ' 1.1.0 '
1111
1212repositories {
1313 mavenCentral()
@@ -38,7 +38,7 @@ publishing {
3838 mavenJava(MavenPublication ) {
3939 artifactId = ' whois-api-client'
4040 groupId = ' com.whoisxmlapi'
41- version = ' 1.0.4 '
41+ version = ' 1.1.0 '
4242 from components. java
4343 pom {
4444 name = ' WhoisXML API client'
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public abstract class BaseContact {
1111 protected String street2 ;
1212 protected String city ;
1313 protected String state ;
14- protected Integer postalCode ;
14+ protected String postalCode ;
1515 protected String country ;
1616 protected String email ;
1717 protected String telephone ;
@@ -41,8 +41,8 @@ public Optional<String> getState() {
4141 return OptionalBuilder .buildOptionalString (this .state );
4242 }
4343
44- public Optional <Integer > getPostCode () {
45- return OptionalBuilder .buildOptionalInt (this .postalCode );
44+ public Optional <String > getPostCode () {
45+ return OptionalBuilder .buildOptionalString (this .postalCode );
4646 }
4747
4848 public Optional <String > getCountry () {
You can’t perform that action at this time.
0 commit comments