Skip to content

Commit 049e3a1

Browse files
oschwaldclaude
andcommitted
Fix incorrect type name in Networks Javadoc
The next() Javadoc referred to "DataRecord"; the method returns DatabaseRecord. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 52449bd commit 049e3a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/maxmind/db/Networks.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public final class Networks<T> implements Iterator<DatabaseRecord<T>> {
4848
}
4949

5050
/**
51-
* Returns the next DataRecord.
51+
* Returns the next DatabaseRecord.
5252
*
53-
* @return The next DataRecord.
53+
* @return The next DatabaseRecord.
5454
* @throws NetworksIterationException An exception when iterating over the networks.
5555
*/
5656
@Override

0 commit comments

Comments
 (0)