Skip to content

Commit

Permalink
Add missing params in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Aug 30, 2022
1 parent c1e6091 commit da92967
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/maxmind/db/Reader.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ private Reader(BufferHolder bufferHolder, String name, NodeCache cache) throws I
/**
* Looks up <code>ipAddress</code> in the MaxMind DB.
*
* @param <T> the type to populate.
* @param ipAddress the IP address to look up.
* @param cls the class of object to populate.
* @return the object.
Expand All @@ -153,7 +154,9 @@ public <T> T get(InetAddress ipAddress, Class<T> cls) throws IOException {
/**
* Looks up <code>ipAddress</code> in the MaxMind DB.
*
* @param <T> the type to populate.
* @param ipAddress the IP address to look up.
* @param cls the class of object to populate.
* @return the record for the IP address. If there is no data for the
* address, the non-null {@link DatabaseRecord} will still be returned.
* @throws IOException if a file I/O error occurs.
Expand Down

0 comments on commit da92967

Please sign in to comment.