Commit 5f5f057a authored by Yusuke Iwaki's avatar Yusuke Iwaki

suppress lint check for try-with-resources

parent 56fb3177
<lint>
<issue id="NewApi">
<ignore regexp="Try-with-resources requires API level 19"/>
</issue>
</lint>
\ No newline at end of file
package chat.rocket.android.realm_helper; package chat.rocket.android.realm_helper;
import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
import android.os.Looper; import android.os.Looper;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
...@@ -14,6 +15,7 @@ import java.util.List; ...@@ -14,6 +15,7 @@ import java.util.List;
import org.json.JSONException; import org.json.JSONException;
import timber.log.Timber; import timber.log.Timber;
@SuppressLint("NewApi")
public class RealmHelper { public class RealmHelper {
private final RealmConfiguration realmConfiguration; private final RealmConfiguration realmConfiguration;
......
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