[sdks/android] Pre: Fix unused warnings.

This commit is contained in:
Nick Alexander 2018-07-25 15:26:48 -07:00
parent 89d8ac50a8
commit 9e6505a930

View file

@ -41,8 +41,6 @@ use mentat_db::{
#[cfg(feature = "syncable")]
use mentat_tolstoy::Syncer;
use uuid::Uuid;
use conn::{
CacheAction,
CacheDirection,
@ -51,7 +49,11 @@ use conn::{
InProgressRead,
Pullable,
Queryable,
Syncable
};
#[cfg(feature = "syncable")]
use conn::{
Syncable,
};
use errors::*;
@ -238,6 +240,9 @@ impl Pullable for Store {
}
}
#[cfg(feature = "syncable")]
use uuid::Uuid;
#[cfg(feature = "syncable")]
impl Syncable for Store {
fn sync(&mut self, server_uri: &String, user_uuid: &String) -> Result<()> {
@ -266,6 +271,8 @@ mod tests {
Duration,
};
use uuid::Uuid;
use mentat_db::cache::{
SQLiteAttributeCache,
};