Keep the connection windows in memory.

This commit is contained in:
akwizgran
2011-11-16 17:57:56 +00:00
parent f10512d787
commit 01dd658200
4 changed files with 38 additions and 28 deletions

View File

@@ -106,8 +106,6 @@ public class ConnectionRecogniserImplTest extends TestCase {
oneOf(db).getConnectionWindow(contactId, remoteIndex);
will(returnValue(connectionWindow));
// Update the window
oneOf(db).getConnectionWindow(contactId, remoteIndex);
will(returnValue(connectionWindow));
oneOf(db).setConnectionWindow(contactId, remoteIndex,
connectionWindow);
}});