Skip to content

Commit 6500947

Browse files
jdcohen220Justin Poehnelt
authored andcommitted
fixed: Added primary school as a poi AddressType to silence SafeEnumAdapter … (#646)
1 parent 22a2b4c commit 6500947

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/com/google/maps/model/AddressType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ public enum AddressType implements UrlValue {
173173
/** The location of a church. */
174174
CHURCH("church"),
175175

176+
/** The location of a primary school. */
177+
PRIMARY_SCHOOL("primary_school"),
178+
176179
/** The location of a finance institute. */
177180
FINANCE("finance"),
178181

src/test/java/com/google/maps/model/EnumsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public void testCanonicalLiteralsForAddressType() {
8181
m.put(AddressType.SUBWAY_STATION, "subway_station");
8282
m.put(AddressType.TRANSIT_STATION, "transit_station");
8383
m.put(AddressType.CHURCH, "church");
84+
m.put(AddressType.PRIMARY_SCHOOL, "primary_school");
8485
m.put(AddressType.FINANCE, "finance");
8586
m.put(AddressType.ESTABLISHMENT, "establishment");
8687
m.put(AddressType.POSTAL_TOWN, "postal_town");

0 commit comments

Comments
 (0)