Skip to content

Commit d9bc950

Browse files
committed
removed unused imports
1 parent 7655edb commit d9bc950

File tree

1 file changed

+0
-154
lines changed

1 file changed

+0
-154
lines changed

server/src/main/java/com/cloud/api/query/QueryManagerImpl.java

Lines changed: 0 additions & 154 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@
218218
import com.cloud.api.query.vo.UserAccountJoinVO;
219219
import com.cloud.api.query.vo.UserVmJoinVO;
220220
import com.cloud.api.query.vo.VolumeJoinVO;
221-
import com.cloud.cluster.ManagementServerHostPeerJoinVO;
222221
import com.cloud.cluster.ManagementServerHostVO;
223222
import com.cloud.cluster.dao.ManagementServerHostDao;
224223
import com.cloud.cluster.dao.ManagementServerHostPeerJoinDao;
@@ -352,159 +351,6 @@
352351
import com.cloud.vm.dao.UserVmDetailsDao;
353352
import com.cloud.vm.dao.VMInstanceDao;
354353

355-
import org.apache.cloudstack.acl.ControlledEntity;
356-
import org.apache.cloudstack.acl.ControlledEntity.ACLType;
357-
import org.apache.cloudstack.acl.SecurityChecker;
358-
import org.apache.cloudstack.affinity.AffinityGroupDomainMapVO;
359-
import org.apache.cloudstack.affinity.AffinityGroupResponse;
360-
import org.apache.cloudstack.affinity.AffinityGroupVMMapVO;
361-
import org.apache.cloudstack.affinity.dao.AffinityGroupDomainMapDao;
362-
import org.apache.cloudstack.affinity.dao.AffinityGroupVMMapDao;
363-
import org.apache.cloudstack.api.ApiCommandResourceType;
364-
import org.apache.cloudstack.api.ApiConstants;
365-
import org.apache.cloudstack.api.BaseListProjectAndAccountResourcesCmd;
366-
import org.apache.cloudstack.api.InternalIdentity;
367-
import org.apache.cloudstack.api.ResourceDetail;
368-
import org.apache.cloudstack.api.ResponseGenerator;
369-
import org.apache.cloudstack.api.ResponseObject.ResponseView;
370-
import org.apache.cloudstack.api.command.admin.account.ListAccountsCmdByAdmin;
371-
import org.apache.cloudstack.api.command.admin.domain.ListDomainsCmd;
372-
import org.apache.cloudstack.api.command.admin.domain.ListDomainsCmdByAdmin;
373-
import org.apache.cloudstack.api.command.admin.host.ListHostTagsCmd;
374-
import org.apache.cloudstack.api.command.admin.host.ListHostsCmd;
375-
import org.apache.cloudstack.api.command.admin.internallb.ListInternalLBVMsCmd;
376-
import org.apache.cloudstack.api.command.admin.iso.ListIsosCmdByAdmin;
377-
import org.apache.cloudstack.api.command.admin.management.ListMgmtsCmd;
378-
import org.apache.cloudstack.api.command.admin.resource.icon.ListResourceIconCmd;
379-
import org.apache.cloudstack.api.command.admin.router.GetRouterHealthCheckResultsCmd;
380-
import org.apache.cloudstack.api.command.admin.router.ListRoutersCmd;
381-
import org.apache.cloudstack.api.command.admin.snapshot.ListSnapshotsCmdByAdmin;
382-
import org.apache.cloudstack.api.command.admin.storage.ListImageStoresCmd;
383-
import org.apache.cloudstack.api.command.admin.storage.ListObjectStoragePoolsCmd;
384-
import org.apache.cloudstack.api.command.admin.storage.ListSecondaryStagingStoresCmd;
385-
import org.apache.cloudstack.api.command.admin.storage.ListStoragePoolsCmd;
386-
import org.apache.cloudstack.api.command.admin.storage.ListStorageTagsCmd;
387-
import org.apache.cloudstack.api.command.admin.storage.heuristics.ListSecondaryStorageSelectorsCmd;
388-
import org.apache.cloudstack.api.command.admin.template.ListTemplatesCmdByAdmin;
389-
import org.apache.cloudstack.api.command.admin.user.ListUsersCmd;
390-
import org.apache.cloudstack.api.command.admin.vm.ListAffectedVmsForStorageScopeChangeCmd;
391-
import org.apache.cloudstack.api.command.admin.zone.ListZonesCmdByAdmin;
392-
import org.apache.cloudstack.api.command.user.account.ListAccountsCmd;
393-
import org.apache.cloudstack.api.command.user.account.ListProjectAccountsCmd;
394-
import org.apache.cloudstack.api.command.user.address.ListQuarantinedIpsCmd;
395-
import org.apache.cloudstack.api.command.user.affinitygroup.ListAffinityGroupsCmd;
396-
import org.apache.cloudstack.api.command.user.bucket.ListBucketsCmd;
397-
import org.apache.cloudstack.api.command.user.event.ListEventsCmd;
398-
import org.apache.cloudstack.api.command.user.iso.ListIsosCmd;
399-
import org.apache.cloudstack.api.command.user.job.ListAsyncJobsCmd;
400-
import org.apache.cloudstack.api.command.user.offering.ListDiskOfferingsCmd;
401-
import org.apache.cloudstack.api.command.user.offering.ListServiceOfferingsCmd;
402-
import org.apache.cloudstack.api.command.user.project.ListProjectInvitationsCmd;
403-
import org.apache.cloudstack.api.command.user.project.ListProjectsCmd;
404-
import org.apache.cloudstack.api.command.user.resource.ListDetailOptionsCmd;
405-
import org.apache.cloudstack.api.command.user.securitygroup.ListSecurityGroupsCmd;
406-
import org.apache.cloudstack.api.command.user.snapshot.CopySnapshotCmd;
407-
import org.apache.cloudstack.api.command.user.snapshot.ListSnapshotsCmd;
408-
import org.apache.cloudstack.api.command.user.tag.ListTagsCmd;
409-
import org.apache.cloudstack.api.command.user.template.ListTemplatesCmd;
410-
import org.apache.cloudstack.api.command.user.template.ListVnfTemplatesCmd;
411-
import org.apache.cloudstack.api.command.user.vm.ListVMsCmd;
412-
import org.apache.cloudstack.api.command.user.vmgroup.ListVMGroupsCmd;
413-
import org.apache.cloudstack.api.command.user.volume.ListResourceDetailsCmd;
414-
import org.apache.cloudstack.api.command.user.volume.ListVolumesCmd;
415-
import org.apache.cloudstack.api.command.user.zone.ListZonesCmd;
416-
import org.apache.cloudstack.api.response.AccountResponse;
417-
import org.apache.cloudstack.api.response.AsyncJobResponse;
418-
import org.apache.cloudstack.api.response.BucketResponse;
419-
import org.apache.cloudstack.api.response.DetailOptionsResponse;
420-
import org.apache.cloudstack.api.response.DiskOfferingResponse;
421-
import org.apache.cloudstack.api.response.DomainResponse;
422-
import org.apache.cloudstack.api.response.DomainRouterResponse;
423-
import org.apache.cloudstack.api.response.EventResponse;
424-
import org.apache.cloudstack.api.response.HostResponse;
425-
import org.apache.cloudstack.api.response.HostTagResponse;
426-
import org.apache.cloudstack.api.response.ImageStoreResponse;
427-
import org.apache.cloudstack.api.response.InstanceGroupResponse;
428-
import org.apache.cloudstack.api.response.IpQuarantineResponse;
429-
import org.apache.cloudstack.api.response.ListResponse;
430-
import org.apache.cloudstack.api.response.ManagementServerResponse;
431-
import org.apache.cloudstack.api.response.ObjectStoreResponse;
432-
import org.apache.cloudstack.api.response.PeerManagementServerNodeResponse;
433-
import org.apache.cloudstack.api.response.ProjectAccountResponse;
434-
import org.apache.cloudstack.api.response.ProjectInvitationResponse;
435-
import org.apache.cloudstack.api.response.ProjectResponse;
436-
import org.apache.cloudstack.api.response.ResourceDetailResponse;
437-
import org.apache.cloudstack.api.response.ResourceIconResponse;
438-
import org.apache.cloudstack.api.response.ResourceTagResponse;
439-
import org.apache.cloudstack.api.response.RouterHealthCheckResultResponse;
440-
import org.apache.cloudstack.api.response.SecondaryStorageHeuristicsResponse;
441-
import org.apache.cloudstack.api.response.SecurityGroupResponse;
442-
import org.apache.cloudstack.api.response.ServiceOfferingResponse;
443-
import org.apache.cloudstack.api.response.SnapshotResponse;
444-
import org.apache.cloudstack.api.response.StoragePoolResponse;
445-
import org.apache.cloudstack.api.response.StorageTagResponse;
446-
import org.apache.cloudstack.api.response.TemplateResponse;
447-
import org.apache.cloudstack.api.response.UserResponse;
448-
import org.apache.cloudstack.api.response.UserVmResponse;
449-
import org.apache.cloudstack.api.response.VirtualMachineResponse;
450-
import org.apache.cloudstack.api.response.VolumeResponse;
451-
import org.apache.cloudstack.api.response.ZoneResponse;
452-
import org.apache.cloudstack.backup.BackupOfferingVO;
453-
import org.apache.cloudstack.backup.dao.BackupOfferingDao;
454-
import org.apache.cloudstack.context.CallContext;
455-
import org.apache.cloudstack.engine.subsystem.api.storage.DataStore;
456-
import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreCapabilities;
457-
import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreDriver;
458-
import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager;
459-
import org.apache.cloudstack.engine.subsystem.api.storage.TemplateState;
460-
import org.apache.cloudstack.framework.config.ConfigKey;
461-
import org.apache.cloudstack.framework.config.Configurable;
462-
import org.apache.cloudstack.framework.jobs.impl.AsyncJobVO;
463-
import org.apache.cloudstack.outofbandmanagement.OutOfBandManagementVO;
464-
import org.apache.cloudstack.outofbandmanagement.dao.OutOfBandManagementDao;
465-
import org.apache.cloudstack.query.QueryService;
466-
import org.apache.cloudstack.resourcedetail.DiskOfferingDetailVO;
467-
import org.apache.cloudstack.resourcedetail.dao.DiskOfferingDetailsDao;
468-
import org.apache.cloudstack.secstorage.HeuristicVO;
469-
import org.apache.cloudstack.secstorage.dao.SecondaryStorageHeuristicDao;
470-
import org.apache.cloudstack.secstorage.heuristics.Heuristic;
471-
import org.apache.cloudstack.storage.datastore.db.ObjectStoreDao;
472-
import org.apache.cloudstack.storage.datastore.db.ObjectStoreVO;
473-
import org.apache.cloudstack.storage.datastore.db.PrimaryDataStoreDao;
474-
import org.apache.cloudstack.storage.datastore.db.SnapshotDataStoreDao;
475-
import org.apache.cloudstack.storage.datastore.db.SnapshotDataStoreVO;
476-
import org.apache.cloudstack.storage.datastore.db.StoragePoolDetailVO;
477-
import org.apache.cloudstack.storage.datastore.db.StoragePoolDetailsDao;
478-
import org.apache.cloudstack.storage.datastore.db.StoragePoolVO;
479-
import org.apache.cloudstack.storage.datastore.db.TemplateDataStoreDao;
480-
481-
import org.apache.commons.collections.CollectionUtils;
482-
import org.apache.commons.collections.MapUtils;
483-
484-
import org.apache.commons.lang3.EnumUtils;
485-
import org.apache.commons.lang3.StringUtils;
486-
487-
import org.springframework.stereotype.Component;
488-
489-
import javax.inject.Inject;
490-
import java.lang.reflect.InvocationTargetException;
491-
import java.lang.reflect.Method;
492-
import java.util.ArrayList;
493-
import java.util.Arrays;
494-
import java.util.Collections;
495-
import java.util.Date;
496-
import java.util.HashMap;
497-
import java.util.HashSet;
498-
import java.util.List;
499-
import java.util.ListIterator;
500-
import java.util.Map;
501-
import java.util.Set;
502-
import java.util.UUID;
503-
import java.util.stream.Collectors;
504-
import java.util.stream.Stream;
505-
506-
import static com.cloud.vm.VmDetailConstants.SSH_PUBLIC_KEY;
507-
508354
@Component
509355
public class QueryManagerImpl extends MutualExclusiveIdsManagerBase implements QueryService, Configurable {
510356

0 commit comments

Comments
 (0)