Stop isReady method always returning true 21/7121/6
authorDave Tucker <djt@redhat.com>
Fri, 16 May 2014 17:24:54 +0000 (18:24 +0100)
committerDave Tucker <djt@redhat.com>
Thu, 22 May 2014 13:42:09 +0000 (14:42 +0100)
commite9e0e5e3b26d4883d33a8aaf9dd2c1e6f1b2b73d
treed6dbc88a5135053843ca05e724ecb380f11cb272
parent0ade9705c1400850215f54005966965f6db1b3e0
Stop isReady method always returning true

The OvsdbClientImpl.isReady() method will always return true as the
schema variable is initialized when the class is created and an
instance of a list can never be null.

This commit implements the timeout in the ToDo and changes the logic
to check if the schema.isEmpty

Change-Id: I1d48fa56f5a93e227fc3b623d3405d07a1751972
Signed-off-by: Dave Tucker <djt@redhat.com>
library/src/main/java/org/opendaylight/ovsdb/lib/OvsDBClientImpl.java