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 30
30
import java .util .Collections ;
31
31
import java .util .Date ;
32
32
import java .util .List ;
33
- import java .util .Objects ;
34
33
35
34
import de .symeda .sormas .api .caze .CaseClassification ;
36
35
import org .apache .commons .collections4 .CollectionUtils ;
@@ -546,7 +545,7 @@ private void updateDiseaseVariant(Disease disease) {
546
545
FieldHelper .updateItems (diseaseVariantField , diseaseVariants );
547
546
diseaseVariantField
548
547
.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 ) {
550
549
facilityOrHome .setValue (Sets .newHashSet (TypeOfPlace .HOME ));
551
550
facilityOrHome .select (TypeOfPlace .HOME );
552
551
getValue ().setCaseClassification (CaseClassification .CONFIRMED );
You can’t perform that action at this time.
0 commit comments