Skip to content

Commit

Permalink
contentEquals -> equals
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1g5 committed Sep 22, 2023
1 parent a412181 commit ab555bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/org/commcare/activities/DispatchActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private boolean needAnotherAppLogin() {
if (sesssionEndpointAppID != null) {
CommCareApp currentApp = CommCareApplication.instance().getCurrentApp();
if (currentApp != null) {
return !currentApp.getUniqueId().contentEquals(sesssionEndpointAppID);
return !currentApp.getUniqueId().equals(sesssionEndpointAppID);
}
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private ApplicationRecord getPresetAppRecord(ArrayList<ApplicationRecord> readyA
String presetAppId = activity.getPresetAppID();
if (presetAppId != null) {
for (ApplicationRecord readyApp : readyApps) {
if (readyApp.getUniqueId().contentEquals(presetAppId)) {
if (readyApp.getUniqueId().equals(presetAppId)) {
return readyApp;
}
}
Expand Down

0 comments on commit ab555bf

Please sign in to comment.