This commit is contained in:
Victor Shcherb 2012-01-10 00:19:25 +01:00
parent 48ed3c857b
commit 7188b38d4f

View file

@ -340,7 +340,7 @@ public class WikiIndexer {
if(ei != -1) { if(ei != -1) {
String englishName = text.substring("[[en:".length() + i, ei).trim(); String englishName = text.substring("[[en:".length() + i, ei).trim();
enSearch.setString(1, englishName); enSearch.setString(1, englishName);
ResultSet rs = enSearch.getResultSet(); ResultSet rs = enSearch.executeQuery();
while (rs.next()) { while (rs.next()) {
clat = rs.getFloat(1); clat = rs.getFloat(1);
clon = rs.getFloat(2); clon = rs.getFloat(2);