Fix NPE
This commit is contained in:
parent
48ed3c857b
commit
7188b38d4f
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ public class WikiIndexer {
|
|||
if(ei != -1) {
|
||||
String englishName = text.substring("[[en:".length() + i, ei).trim();
|
||||
enSearch.setString(1, englishName);
|
||||
ResultSet rs = enSearch.getResultSet();
|
||||
ResultSet rs = enSearch.executeQuery();
|
||||
while (rs.next()) {
|
||||
clat = rs.getFloat(1);
|
||||
clon = rs.getFloat(2);
|
||||
|
|
Loading…
Reference in a new issue