Skip to content

Commit 2f2c34d

Browse files
authored
Merge pull request #94 from UmanShahzad/fix-record-doc
Missed some renames from Record to DatabaseRecord
2 parents 147f497 + deeb4aa commit 2f2c34d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ read in metadata for the file.
6161
import com.maxmind.db.MaxMindDbConstructor;
6262
import com.maxmind.db.MaxMindDbParameter;
6363
import com.maxmind.db.Reader;
64-
import com.maxmind.db.Record;
64+
import com.maxmind.db.DatabaseRecord;
6565

6666
import java.io.File;
6767
import java.io.IOException;
@@ -78,9 +78,9 @@ public class Lookup {
7878

7979
System.out.println(result.getCountry().getIsoCode());
8080

81-
// getRecord() returns a Record class that contains both
81+
// getRecord() returns a DatabaseRecord class that contains both
8282
// the data for the record and associated metadata.
83-
Record<LookupResult> record
83+
DatabaseRecord<LookupResult> record
8484
= reader.getRecord(address, LookupResult.class);
8585

8686
System.out.println(record.getData().getCountry().getIsoCode());

0 commit comments

Comments
 (0)