got it
On Mon, Oct 7, 2013 at 10:11 AM, Jörn Kottmann <[email protected]> wrote: > Please always reference the issue number as part of the commit log message. > > Jörn > > > On 10/05/2013 11:20 PM, [email protected] wrote: > >> Author: markg >> Date: Sat Oct 5 21:20:53 2013 >> New Revision: 1529520 >> >> URL: http://svn.apache.org/r1529520 >> Log: >> Was not using the EntityLinkerProperties passed in. Now fixed. >> >> Modified: >> opennlp/trunk/opennlp-tools/**src/main/java/opennlp/tools/** >> entitylinker/**MySQLGeoNamesGazLinkable.java >> >> Modified: opennlp/trunk/opennlp-tools/**src/main/java/opennlp/tools/** >> entitylinker/**MySQLGeoNamesGazLinkable.java >> URL: http://svn.apache.org/viewvc/**opennlp/trunk/opennlp-tools/** >> src/main/java/opennlp/tools/**entitylinker/** >> MySQLGeoNamesGazLinkable.java?**rev=1529520&r1=1529519&r2=** >> 1529520&view=diff<http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/MySQLGeoNamesGazLinkable.java?rev=1529520&r1=1529519&r2=1529520&view=diff> >> ==============================**==============================** >> ================== >> --- opennlp/trunk/opennlp-tools/**src/main/java/opennlp/tools/** >> entitylinker/**MySQLGeoNamesGazLinkable.java (original) >> +++ opennlp/trunk/opennlp-tools/**src/main/java/opennlp/tools/** >> entitylinker/**MySQLGeoNamesGazLinkable.java Sat Oct 5 21:20:53 2013 >> @@ -4,7 +4,6 @@ package opennlp.tools.entitylinker; >> * >> * @author Owner >> */ >> -import java.io.File; >> import java.sql.CallableStatement; >> import java.sql.Connection; >> import java.sql.DriverManager; >> @@ -56,8 +55,8 @@ public final class MySQLGeoNamesGazLinka >> return returnlocs; >> } >> - protected Connection getMySqlConnection(**EntityLinkerProperties >> properties) throws Exception { >> - EntityLinkerProperties property = new EntityLinkerProperties(new >> File("c:\\temp\\opennlpmodels\**\entitylinker.properties")); >> + protected Connection getMySqlConnection(**EntityLinkerProperties >> property) throws Exception { >> + // EntityLinkerProperties property = new EntityLinkerProperties(new >> File("c:\\temp\\opennlpmodels\**\entitylinker.properties")); >> String driver = property.getProperty("mysql.**driver", >> "org.gjt.mm.mysql.Driver"); >> String url = property.getProperty("mysql.**url", >> "jdbc:mysql://localhost:3306/**world"); >> String username = property.getProperty("mysql.**username", "root"); >> >> >> >
