Skip to content

Commit

Permalink
spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
YangYumings committed Nov 22, 2024
1 parent 684a79d commit 5833544
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ private List<DeviceSchema> getQueryDeviceSchemaList(boolean typeAllow) throws Wo
while (queryDevices.size() < Math.min(deviceQueryMaxCount, config.getQUERY_DEVICE_NUM())
&& queryDeviceIds.size() < deviceQueryMaxCount) {
// get a device belong to [first_device_index, first_device_index + device_number)
deviceId = devices.get(queryDeviceRandom.nextInt(devices.size())) + config.getFIRST_DEVICE_INDEX();
deviceId =
devices.get(queryDeviceRandom.nextInt(devices.size())) + config.getFIRST_DEVICE_INDEX();
// avoid duplicate
if (!queryDeviceIds.contains(deviceId)) {
queryDeviceIds.add(deviceId);
Expand Down

0 comments on commit 5833544

Please sign in to comment.