File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ read in metadata for the file.
6161import com.maxmind.db.MaxMindDbConstructor ;
6262import com.maxmind.db.MaxMindDbParameter ;
6363import com.maxmind.db.Reader ;
64- import com.maxmind.db.Record ;
64+ import com.maxmind.db.DatabaseRecord ;
6565
6666import java.io.File ;
6767import 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());
You can’t perform that action at this time.
0 commit comments