From 5b24debbcd4ef41ef199cddbefb0fea384f4b09a Mon Sep 17 00:00:00 2001 From: Jacek Gajek Date: Fri, 10 Nov 2023 10:17:42 +0100 Subject: [PATCH] Fixes #807: Add new administrative area levels in the Address model This commit introduces administrative area levels 6 and 7 to the Address model. This has been added to accommodate more granular geographic divisions that some countries may have. Corresponding changes are reflected in the EnumsTest as well. --- src/test/java/com/google/maps/model/EnumsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/google/maps/model/EnumsTest.java b/src/test/java/com/google/maps/model/EnumsTest.java index 4d7eae0a..9436f30d 100644 --- a/src/test/java/com/google/maps/model/EnumsTest.java +++ b/src/test/java/com/google/maps/model/EnumsTest.java @@ -44,7 +44,7 @@ public void testUnknown() { @Test public void testCanonicalLiteralsForAddressType() { Map addressTypeToLiteralMap = new HashMap<>(); - // Short alias just to avoid line wrapping in the below code. + // Short alias just to avoid line wrapping in the below code Map m = addressTypeToLiteralMap; m.put(AddressType.STREET_ADDRESS, "street_address"); m.put(AddressType.ROUTE, "route");