mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Fixed an ambiguous column name and erroneous javadoc comments.
This commit is contained in:
@@ -242,7 +242,7 @@ interface Database<T> {
|
||||
|
||||
/**
|
||||
* Returns the time at which a connection to the given contact was last
|
||||
* opened or closed.
|
||||
* made.
|
||||
* <p>
|
||||
* Locking: contact read, window read.
|
||||
*/
|
||||
@@ -597,8 +597,7 @@ interface Database<T> {
|
||||
long centre, byte[] bitmap) throws DbException;
|
||||
|
||||
/**
|
||||
* Sets the time at which a connection to the given contact was last
|
||||
* opened or closed.
|
||||
* Sets the time at which a connection to the given contact was last made.
|
||||
* <p>
|
||||
* Locking: contact read, window write.
|
||||
*/
|
||||
|
||||
@@ -1052,7 +1052,7 @@ abstract class JdbcDatabase implements Database<Connection> {
|
||||
PreparedStatement ps = null;
|
||||
ResultSet rs = null;
|
||||
try {
|
||||
String sql = "SELECT contactId, name, lastConnected"
|
||||
String sql = "SELECT c.contactId, name, lastConnected"
|
||||
+ " FROM contacts AS c"
|
||||
+ " JOIN connectionTimes AS ct"
|
||||
+ " ON c.contactId = ct.contactId";
|
||||
|
||||
Reference in New Issue
Block a user