Skip to content

Commit

Permalink
fix: [ANDROAPP-6535] remove code smells
Browse files Browse the repository at this point in the history
Signed-off-by: andresmr <[email protected]>
  • Loading branch information
andresmr authored and Balcan committed Dec 23, 2024
1 parent e2a449e commit 0cb62f2
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
import org.hisp.dhis.android.core.relationship.Relationship;
import org.hisp.dhis.android.core.relationship.RelationshipItem;
import org.hisp.dhis.android.core.relationship.RelationshipItemTrackedEntityInstance;
import org.hisp.dhis.android.core.relationship.RelationshipType;
import org.hisp.dhis.android.core.settings.AnalyticsDhisVisualizationsGroup;
import org.hisp.dhis.android.core.settings.ProgramConfigurationSetting;
import org.hisp.dhis.android.core.trackedentity.TrackedEntityAttribute;
Expand Down Expand Up @@ -418,9 +417,6 @@ private void setRelationshipsInfo(@NonNull SearchTeiModel searchTeiModel, Progra
);
for (Relationship relationship : relationships) {
if (relationship.from().trackedEntityInstance() != null) {
RelationshipType relationshipType =
d2.relationshipModule().relationshipTypes().uid(relationship.relationshipType()).blockingGet();

String relationshipTEIUid;
RelationshipDirection direction;
if (!searchTeiModel.getTei().uid().equals(relationship.from().trackedEntityInstance().trackedEntityInstance())) {
Expand Down

0 comments on commit 0cb62f2

Please sign in to comment.