This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/de/symeda/sormas/api/utils/jurisdiction Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 <parent >
33 <groupId >de.symeda.sormas</groupId >
44 <artifactId >sormas-base</artifactId >
5- <version >1.43.1 </version >
5+ <version >1.43.2 </version >
66 <relativePath >../sormas-base</relativePath >
77 </parent >
88 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change @@ -39,11 +39,15 @@ public static boolean isInJurisdiction(
3939 case NATION :
4040 return true ;
4141 case REGION :
42- return contactJurisdiction .getRegionUuid () != null
43- && DataHelper .equal (contactJurisdiction .getRegionUuid (), userJurisdiction .getRegionUuid ());
42+ if (contactJurisdiction .getRegionUuid () != null ) {
43+ return DataHelper .equal (contactJurisdiction .getRegionUuid (), userJurisdiction .getRegionUuid ());
44+ }
45+ break ;
4446 case DISTRICT :
45- return contactJurisdiction .getDistrictUuid () != null
46- && DataHelper .equal (contactJurisdiction .getDistrictUuid (), userJurisdiction .getDistrictUuid ());
47+ if (contactJurisdiction .getDistrictUuid () != null ) {
48+ return DataHelper .equal (contactJurisdiction .getDistrictUuid (), userJurisdiction .getDistrictUuid ());
49+ }
50+ break ;
4751 case COMMUNITY :
4852 return false ;
4953 case HEALTH_FACILITY :
Original file line number Diff line number Diff line change 33 <parent >
44 <artifactId >sormas-base</artifactId >
55 <groupId >de.symeda.sormas</groupId >
6- <version >1.43.1 </version >
6+ <version >1.43.2 </version >
77 <relativePath >../sormas-base</relativePath >
88 </parent >
99 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 33 <parent >
44 <artifactId >sormas-base</artifactId >
55 <groupId >de.symeda.sormas</groupId >
6- <version >1.43.1 </version >
6+ <version >1.43.2 </version >
77 <relativePath >../sormas-base</relativePath >
88 </parent >
99 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 88 <parent>
99 <artifactId>sormas-base</artifactId>
1010 <groupId>de.symeda.sormas</groupId>
11- <version>1.43.1 </version>
11+ <version>1.43.2 </version>
1212 <relativePath>../</relativePath>
1313 </parent>
1414
Original file line number Diff line number Diff line change 55 <groupId >de.symeda.sormas</groupId >
66 <artifactId >sormas-base</artifactId >
77 <packaging >pom</packaging >
8- <version >1.43.1 </version >
8+ <version >1.43.2 </version >
99
1010 <prerequisites >
1111 <maven >3.0</maven >
Original file line number Diff line number Diff line change 33 <parent >
44 <groupId >de.symeda.sormas</groupId >
55 <artifactId >sormas-base</artifactId >
6- <version >1.43.1 </version >
6+ <version >1.43.2 </version >
77 <relativePath >../sormas-base</relativePath >
88 </parent >
99
Original file line number Diff line number Diff line change 33 <parent >
44 <groupId >de.symeda.sormas</groupId >
55 <artifactId >sormas-base</artifactId >
6- <version >1.43.1 </version >
6+ <version >1.43.2 </version >
77 <relativePath >../sormas-base</relativePath >
88 </parent >
99
Original file line number Diff line number Diff line change 33 <parent >
44 <artifactId >sormas-base</artifactId >
55 <groupId >de.symeda.sormas</groupId >
6- <version >1.43.1 </version >
6+ <version >1.43.2 </version >
77 <relativePath >../sormas-base</relativePath >
88 </parent >
99 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 33 <parent >
44 <artifactId >sormas-base</artifactId >
55 <groupId >de.symeda.sormas</groupId >
6- <version >1.43.1 </version >
6+ <version >1.43.2 </version >
77 <relativePath >../sormas-base</relativePath >
88 </parent >
99 <modelVersion >4.0.0</modelVersion >
You can’t perform that action at this time.
0 commit comments