Skip to content

Commit c30e53a

Browse files
authored
Merge pull request #639 from maxmind/greg/stf-555
Use 'GeoIP'/'GeoLite' branding in documentation
2 parents 54e3b10 + 8f05bea commit c30e53a

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ mvn javadoc:javadoc
6868
- Use Java records (as of version 4.0.0) with deprecated getter methods for backwards compatibility
6969
- Implement `JsonSerializable` interface
7070
- `InsightsResponse` and `FactorsResponse` extend `ScoreResponse` with additional fields
71-
- Response models include GeoIP2 data (this library depends on `com.maxmind.geoip2:geoip2`)
71+
- Response models include GeoIP data (this library depends on `com.maxmind.geoip2:geoip2`)
7272

7373
**Exception Hierarchy** (`src/main/java/com/maxmind/minfraud/exception/`)
7474
- `MinFraudException` (base checked exception)
@@ -427,7 +427,7 @@ String json = response.toJson(); // Pretty-printed JSON output
427427

428428
The project depends on:
429429
- **Jackson** (core, databind, annotations, datatype-jsr310): JSON handling
430-
- **GeoIP2 Java API**: Sibling library providing GeoIP2 models used in responses
430+
- **GeoIP Java API**: Sibling library providing GeoIP models used in responses
431431
- **JUnit 5** (Jupiter): Testing framework
432432
- **WireMock**: HTTP mocking for tests
433433
- **jsonassert**: JSON comparison in tests

src/main/java/com/maxmind/minfraud/response/GeoIp2Location.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.time.ZonedDateTime;
77

88
/**
9-
* This class contains minFraud response data related to the GeoIP2 Insights location.
9+
* This class contains minFraud response data related to the GeoIP Insights location.
1010
*
1111
* @param accuracyRadius The approximate accuracy radius in kilometers around the latitude and
1212
* longitude for the geographical entity (country, subdivision, city or

src/test/java/com/maxmind/minfraud/WebServiceClientTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ public void testFullInsightsTransaction() throws Exception {
102102
var response = client.insights(request);
103103

104104
// We use non-strict checking as there is some extra stuff in the serialized
105-
// object, most notably the "name" field in the GeoIP2 InsightsResponse subobjects.
106-
// We cannot change this as it would be a breaking change to the GeoIP2 API.
105+
// object, most notably the "name" field in the GeoIP InsightsResponse subobjects.
106+
// We cannot change this as it would be a breaking change to the GeoIP API.
107107
JSONAssert.assertEquals(responseContent, response.toJson(), false);
108108
verifyRequestFor(wireMock, "insights", "full-request");
109109
assertTrue(
@@ -153,8 +153,8 @@ public void testFullFactorsTransaction() throws Exception {
153153
var response = client.factors(request);
154154

155155
// We use non-strict checking as there is some extra stuff in the serialized
156-
// object, most notably the "name" field in the GeoIP2 InsightsResponse subobjects.
157-
// We cannot change this as it would be a breaking change to the GeoIP2 API.
156+
// object, most notably the "name" field in the GeoIP InsightsResponse subobjects.
157+
// We cannot change this as it would be a breaking change to the GeoIP API.
158158
JSONAssert.assertEquals(responseContent, response.toJson(), false);
159159
verifyRequestFor(wireMock, "factors", "full-request");
160160
assertTrue(

0 commit comments

Comments
 (0)