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
ffacfed8
Commit
ffacfed8
authored
Dec 04, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lint bug.
parent
9cbe434d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
RoomFragment.java
...a/chat/rocket/android/fragment/chatroom/RoomFragment.java
+1
-1
AbstractRealmResultsObserver.java
...et/android/realm_helper/AbstractRealmResultsObserver.java
+1
-1
RealmHelper.java
...in/java/chat/rocket/android/realm_helper/RealmHelper.java
+2
-2
No files found.
app/src/main/java/chat/rocket/android/fragment/chatroom/RoomFragment.java
View file @
ffacfed8
...
...
@@ -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."
);
}
});
}
...
...
realm-helpers/src/main/java/chat/rocket/android/realm_helper/AbstractRealmResultsObserver.java
View file @
ffacfed8
...
...
@@ -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."
);
}
}
...
...
realm-helpers/src/main/java/chat/rocket/android/realm_helper/RealmHelper.java
View file @
ffacfed8
...
...
@@ -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
();
}
}
...
...
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