Skip to content

Commit 9c3c0e3

Browse files
oschwaldclaude
andcommitted
Fix raw type uses in AbstractLocation and AbstractLocationTest
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7077e5a commit 9c3c0e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/maxmind/minfraud/request/AbstractLocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected AbstractLocation(AbstractLocation.Builder builder) {
4141
* @param <T> the builder class
4242
*/
4343
@SuppressWarnings("unchecked")
44-
abstract static class Builder<T extends AbstractLocation.Builder> {
44+
abstract static class Builder<T extends AbstractLocation.Builder<T>> {
4545
private static final Pattern COUNTRY_CODE_PATTERN = Pattern.compile("^[A-Z]{2}$");
4646

4747
String firstName;

src/test/java/com/maxmind/minfraud/request/AbstractLocationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.junit.jupiter.api.Test;
88

99
public abstract class AbstractLocationTest {
10-
abstract Builder builder();
10+
abstract Builder<?> builder();
1111

1212

1313
@Test

0 commit comments

Comments
 (0)