Skip to content

Commit 023b7b9

Browse files
committed
lint
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent ae73f66 commit 023b7b9

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

api/src/main/java/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.util.EnumSet;
2222
import java.util.List;
2323

24-
import org.apache.cloudstack.acl.RoleType;
2524
import org.apache.cloudstack.api.APICommand;
2625
import org.apache.cloudstack.api.ApiCommandResourceType;
2726
import org.apache.cloudstack.api.ApiConstants;

api/src/main/java/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,13 @@
1616
// under the License.
1717
package org.apache.cloudstack.api.command.user.template;
1818

19-
import com.cloud.cpu.CPU;
20-
import com.cloud.hypervisor.Hypervisor;
2119
import java.net.URISyntaxException;
2220
import java.util.ArrayList;
2321
import java.util.Collection;
2422
import java.util.HashMap;
2523
import java.util.List;
2624
import java.util.Map;
2725

28-
import com.cloud.hypervisor.HypervisorGuru;
29-
import com.cloud.vm.VmDetailConstants;
30-
31-
import org.apache.cloudstack.acl.RoleType;
3226
import org.apache.cloudstack.api.APICommand;
3327
import org.apache.cloudstack.api.ApiCommandResourceType;
3428
import org.apache.cloudstack.api.ApiConstants;
@@ -48,8 +42,12 @@
4842
import org.apache.cloudstack.context.CallContext;
4943
import org.apache.commons.lang3.StringUtils;
5044

45+
import com.cloud.cpu.CPU;
5146
import com.cloud.exception.ResourceAllocationException;
47+
import com.cloud.hypervisor.Hypervisor;
48+
import com.cloud.hypervisor.HypervisorGuru;
5249
import com.cloud.template.VirtualMachineTemplate;
50+
import com.cloud.vm.VmDetailConstants;
5351

5452
@APICommand(name = "registerTemplate", description = "Registers an existing template into the CloudStack cloud. ", responseObject = TemplateResponse.class, responseView = ResponseView.Restricted,
5553
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)

0 commit comments

Comments
 (0)