Fix Search is not working in installation details in app store #451
Merged
tcdlpds
merged 3 commits from nipuni/device-mgt-core:#11464
into master
4 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'nipuni/device-mgt-core:#11464'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Fixes for: http://roadmap.entgra.net/issues/11464
WIP: Fix Search is not working in installation details in app storeto Fix Search is not working in installation details in app store 4 months agocase "SUBSCRIBED":
this.subscribedDevices = devices;
break;
}
What is the default case here?
if (subscribedDevices.isEmpty()) {
categorizedSubscriptionResult =
new CategorizedSubscriptionResult(installedDevices, pendingDevices, errorDevices, newDevices);
List<DeviceSubscriptionData> requestedDevices = new ArrayList<>();
Move instantiate to the default case.
if (subscribedDevices.isEmpty()) {
categorizedSubscriptionResult =
new CategorizedSubscriptionResult(installedDevices, pendingDevices, errorDevices, newDevices);
List<DeviceSubscriptionData> requestedDevices = new ArrayList<>();
Move instantiate to the default case.
if (subscribedDevices.isEmpty()) {
categorizedSubscriptionResult =
new CategorizedSubscriptionResult(installedDevices, pendingDevices, errorDevices, newDevices);
List<DeviceSubscriptionData> requestedDevices = new ArrayList<>();
Move instantiate to the default case (Doing so we can reduce the life time of empty array instance through out the switch statement).
if (subscribedDevices.isEmpty()) {
categorizedSubscriptionResult =
new CategorizedSubscriptionResult(installedDevices, pendingDevices, errorDevices, newDevices);
List<DeviceSubscriptionData> requestedDevices = new ArrayList<>();
Move instantiate to the default case.
statusPercentages.put(entry.getKey(), Double.valueOf(formattedPercentage));
}
List<DeviceSubscriptionData> requestedDevices = new ArrayList<>();
Move instantiate to the default case.
08e9625373
into master 4 months agoReviewers
08e9625373
.