File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sormas-ui/src/main/java/de/symeda/sormas/ui/caze Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 3030import java .util .Collections ;
3131import java .util .Date ;
3232import java .util .List ;
33- import java .util .Objects ;
3433
3534import de .symeda .sormas .api .caze .CaseClassification ;
3635import org .apache .commons .collections4 .CollectionUtils ;
@@ -546,7 +545,7 @@ private void updateDiseaseVariant(Disease disease) {
546545 FieldHelper .updateItems (diseaseVariantField , diseaseVariants );
547546 diseaseVariantField
548547 .setVisible (disease != null && isVisibleAllowed (CaseDataDto .DISEASE_VARIANT ) && CollectionUtils .isNotEmpty (diseaseVariants ));
549- if (Objects . nonNull ( disease ) && ( Disease .INFLUENZA . compareTo ( disease ) == 0 ) ) {
548+ if (disease == Disease .INFLUENZA ) {
550549 facilityOrHome .setValue (Sets .newHashSet (TypeOfPlace .HOME ));
551550 facilityOrHome .select (TypeOfPlace .HOME );
552551 getValue ().setCaseClassification (CaseClassification .CONFIRMED );
You can’t perform that action at this time.
0 commit comments