mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +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
|
* Returns the time at which a connection to the given contact was last
|
||||||
* opened or closed.
|
* made.
|
||||||
* <p>
|
* <p>
|
||||||
* Locking: contact read, window read.
|
* Locking: contact read, window read.
|
||||||
*/
|
*/
|
||||||
@@ -597,8 +597,7 @@ interface Database<T> {
|
|||||||
long centre, byte[] bitmap) throws DbException;
|
long centre, byte[] bitmap) throws DbException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the time at which a connection to the given contact was last
|
* Sets the time at which a connection to the given contact was last made.
|
||||||
* opened or closed.
|
|
||||||
* <p>
|
* <p>
|
||||||
* Locking: contact read, window write.
|
* Locking: contact read, window write.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1052,7 +1052,7 @@ abstract class JdbcDatabase implements Database<Connection> {
|
|||||||
PreparedStatement ps = null;
|
PreparedStatement ps = null;
|
||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
try {
|
try {
|
||||||
String sql = "SELECT contactId, name, lastConnected"
|
String sql = "SELECT c.contactId, name, lastConnected"
|
||||||
+ " FROM contacts AS c"
|
+ " FROM contacts AS c"
|
||||||
+ " JOIN connectionTimes AS ct"
|
+ " JOIN connectionTimes AS ct"
|
||||||
+ " ON c.contactId = ct.contactId";
|
+ " ON c.contactId = ct.contactId";
|
||||||
|
|||||||
Reference in New Issue
Block a user