Commit ffacfed8 authored by Yusuke Iwaki's avatar Yusuke Iwaki

fix lint bug.

parent 9cbe434d
......@@ -166,7 +166,7 @@ public class RoomFragment extends AbstractChatRoomFragment
fieldSlidable.setAccessible(true);
fieldSlidable.setBoolean(pane, !opened);
} catch (Exception exception) {
Timber.w(exception);
Timber.w(exception, "failed to set CanSlide.");
}
});
}
......
......@@ -50,7 +50,7 @@ abstract class AbstractRealmResultsObserver<T extends RealmObject> {
realm.close();
}
} catch (IllegalStateException exception) {
Timber.w(exception);
Timber.w(exception, "failed to unsub. ignore.");
}
}
......
......@@ -59,7 +59,7 @@ public class RealmHelper {
T source = transaction.execute(realm);
return source != null ? realm.copyFromRealm(source) : null;
} catch (Exception exception) {
Timber.w(exception);
Timber.w(exception, "failed to execute copyFromRealm");
return null;
}
}
......@@ -69,7 +69,7 @@ public class RealmHelper {
try (Realm realm = instance()) {
return realm.copyFromRealm(transaction.execute(realm));
} catch (Exception exception) {
Timber.w(exception);
Timber.w(exception, "failed to execute copyFromRealm");
return Collections.emptyList();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment