Skip to content

Commit 9164032

Browse files
RLPNC-5039 copyright year fixes, don't bother making a public all-arg constructor for address
1 parent a105236 commit 9164032

File tree

4 files changed

+3
-53
lines changed

4 files changed

+3
-53
lines changed

examples/src/main/java/com/basistech/rosette/examples/AddressSimilarityExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014 Basis Technology Corp.
2+
* Copyright 2019 Basis Technology Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

json/src/main/java/com/basistech/rosette/apimodel/jackson/AddressMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014 Basis Technology Corp.
2+
* Copyright 2019 Basis Technology Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

json/src/main/java/com/basistech/rosette/apimodel/jackson/AddressSimilarityRequestMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014 Basis Technology Corp.
2+
* Copyright 2019 Basis Technology Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

model/src/main/java/com/basistech/rosette/apimodel/Address.java

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.basistech.rosette.apimodel;
1818

19-
import java.util.Collections;
2019
import java.util.Map;
2120

2221
import lombok.Builder;
@@ -130,53 +129,4 @@ public class Address {
130129
* @return the address uid
131130
*/
132131
private final String uid;
133-
134-
/**
135-
* Default constructor for lombok
136-
* @param house
137-
* @param houseNumber
138-
* @param road
139-
* @param unit
140-
* @param level
141-
* @param staircase
142-
* @param entrance
143-
* @param suburb
144-
* @param cityDistrict
145-
* @param city
146-
* @param island
147-
* @param stateDistrict
148-
* @param state
149-
* @param countryRegion
150-
* @param country
151-
* @param worldRegion
152-
* @param postCode
153-
* @param poBox
154-
* @param extra
155-
* @param uid
156-
*/
157-
public Address(String house, String houseNumber, String road, String unit, String level, String staircase,
158-
String entrance, String suburb, String cityDistrict, String city, String island, String stateDistrict,
159-
String state, String countryRegion, String country, String worldRegion, String postCode, String poBox,
160-
Map<String, String> extra, String uid) {
161-
this.house = house;
162-
this.houseNumber = houseNumber;
163-
this.road = road;
164-
this.unit = unit;
165-
this.level = level;
166-
this.staircase = staircase;
167-
this.entrance = entrance;
168-
this.suburb = suburb;
169-
this.cityDistrict = cityDistrict;
170-
this.city = city;
171-
this.island = island;
172-
this.stateDistrict = stateDistrict;
173-
this.state = state;
174-
this.countryRegion = countryRegion;
175-
this.country = country;
176-
this.worldRegion = worldRegion;
177-
this.postCode = postCode;
178-
this.poBox = poBox;
179-
this.extra = extra == null ? Collections.<String, String>emptyMap() : Collections.unmodifiableMap(extra);
180-
this.uid = uid;
181-
}
182132
}

0 commit comments

Comments
 (0)