mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
fix codacy issue
This commit is contained in:
parent
f77caf8926
commit
a63450f013
1 changed files with 2 additions and 1 deletions
|
@ -160,9 +160,10 @@ public class NotificationListAdapter extends RecyclerView.Adapter<NotificationLi
|
|||
|
||||
int openingBrace = text.indexOf('{');
|
||||
int closingBrace;
|
||||
String replaceablePart;
|
||||
while (openingBrace != -1) {
|
||||
closingBrace = text.indexOf('}', openingBrace) + 1;
|
||||
String replaceablePart = text.substring(openingBrace + 1, closingBrace - 1);
|
||||
replaceablePart = text.substring(openingBrace + 1, closingBrace - 1);
|
||||
|
||||
RichObject richObject = notification.subjectRichParameters.get(replaceablePart);
|
||||
if (richObject != null) {
|
||||
|
|
Loading…
Reference in a new issue