mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
remvoing restriction that prevents activity count to be returned when if-modified-since header is present
This commit is contained in:
parent
ada570f0a0
commit
b1d95af5b0
@ -298,11 +298,11 @@ public class ActivityProviderServiceImpl implements ActivityInfoProviderService
|
||||
}
|
||||
activityList.setList(activities);
|
||||
activityList.setCount(count);
|
||||
if (activities == null || activities.size() == 0) {
|
||||
if (isIfModifiedSinceSet) {
|
||||
return Response.notModified().build();
|
||||
}
|
||||
}
|
||||
// if (activities == null || activities.size() == 0) {
|
||||
// if (isIfModifiedSinceSet) {
|
||||
// return Response.notModified().build();
|
||||
// }
|
||||
// }
|
||||
return Response.ok().entity(activityList).build();
|
||||
} catch (OperationManagementException e) {
|
||||
String msg
|
||||
|
||||
Loading…
Reference in New Issue
Block a user