Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
5f5f057a
Commit
5f5f057a
authored
Dec 08, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
suppress lint check for try-with-resources
parent
56fb3177
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
lint.xml
realm-helpers/lint.xml
+0
-5
RealmHelper.java
...in/java/chat/rocket/android/realm_helper/RealmHelper.java
+2
-0
No files found.
realm-helpers/lint.xml
deleted
100644 → 0
View file @
56fb3177
<lint>
<issue
id=
"NewApi"
>
<ignore
regexp=
"Try-with-resources requires API level 19"
/>
</issue>
</lint>
\ No newline at end of file
realm-helpers/src/main/java/chat/rocket/android/realm_helper/RealmHelper.java
View file @
5f5f057a
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment