Skip to content

Commit 224f479

Browse files
author
Alex Huang
committed
Removed trailing spaces
1 parent e4b22d0 commit 224f479

613 files changed

Lines changed: 4403 additions & 4403 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

agent/src/com/cloud/agent/dao/StorageComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import com.cloud.utils.component.Manager;
2020

2121
/**
22-
*
22+
*
2323
*/
2424
public interface StorageComponent extends Manager {
2525
String get(String key);

agent/src/com/cloud/agent/dao/impl/PropertiesStorage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
/**
3535
* Uses Properties to implement storage.
36-
*
36+
*
3737
* @config {@table || Param Name | Description | Values | Default || || path |
3838
* path to the properties _file | String | db/db.properties || * }
3939
**/

agent/src/com/cloud/agent/resource/consoleproxy/ConsoleProxyResource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@
6666
import com.cloud.utils.script.Script;
6767

6868
/**
69-
*
69+
*
7070
* I don't want to introduce extra cross-cutting concerns into console proxy
7171
* process, as it involves configurations like zone/pod, agent auto self-upgrade
7272
* etc. I also don't want to introduce more module dependency issues into our
7373
* build system, cross-communication between this resource and console proxy
7474
* will be done through reflection. As a result, come out with following
7575
* solution to solve the problem of building a communication channel between
7676
* consoole proxy and management server.
77-
*
77+
*
7878
* We will deploy an agent shell inside console proxy VM, and this agent shell
7979
* will launch current console proxy from within this special server resource,
8080
* through it console proxy can build a communication channel with management
8181
* server.
82-
*
82+
*
8383
*/
8484
public class ConsoleProxyResource extends ServerResourceBase implements ServerResource {
8585
static final Logger s_logger = Logger.getLogger(ConsoleProxyResource.class);

agent/src/com/cloud/agent/vmdata/VmDataServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* Maintains vm data (user data, meta-data, password) that can be fetched via
2626
* HTTP by user vms
27-
*
27+
*
2828
*/
2929
public interface VmDataServer extends Manager {
3030

api/src/com/cloud/agent/api/HostVmStateReportEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// TODO vmsync
2424
// We should also have a HostVmStateReport class instead of using raw Map<> data structure,
2525
// for now, we store host-specific info at each VM entry and host fields are fixed
26-
//
26+
//
2727
// This needs to be refactor-ed afterwards
2828
//
2929
public class HostVmStateReportEntry {

api/src/com/cloud/agent/manager/allocator/HostAllocator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ public interface HostAllocator extends Adapter {
5252
/**
5353
* Determines which physical hosts are suitable to allocate the guest
5454
* virtual machines on
55-
*
55+
*
5656
* Allocators must set any other hosts not considered for allocation in the
5757
* ExcludeList avoid. Thus the avoid set and the list of hosts suitable,
5858
* together must cover the entire host set in the cluster.
59-
*
59+
*
6060
* @param VirtualMachineProfile
6161
* vmProfile
6262
* @param DeploymentPlan
@@ -81,8 +81,8 @@ public interface HostAllocator extends Adapter {
8181
* Allocators must set any other hosts not considered for allocation in the
8282
* ExcludeList avoid. Thus the avoid set and the list of hosts suitable,
8383
* together must cover the entire host set in the cluster.
84-
*
85-
*
84+
*
85+
*
8686
* @param VirtualMachineProfile
8787
* vmProfile
8888
* @param DeploymentPlan

api/src/com/cloud/ha/FenceBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public interface FenceBuilder extends Adapter {
2424
/**
2525
* Fence off the vm.
26-
*
26+
*
2727
* @param vm vm
2828
* @param host host where the vm was running on.
2929
*/

api/src/com/cloud/ha/Investigator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public interface Investigator extends Adapter {
2525
/**
2626
* Returns if the vm is still alive.
27-
*
27+
*
2828
* @param vm to work on.
2929
*/
3030
public Boolean isVmAlive(VirtualMachine vm, Host host);

api/src/com/cloud/hypervisor/Hypervisor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static HypervisorType getType(String hypervisor) {
6868

6969
/**
7070
* This method really needs to be part of the properties of the hypervisor type itself.
71-
*
71+
*
7272
* @param hyperType
7373
* @return
7474
*/

api/src/com/cloud/hypervisor/HypervisorGuru.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public interface HypervisorGuru extends Adapter {
7272
/**
7373
* Give the hypervisor guru the opportinity to decide if additional clean is
7474
* required for nics before expunging the VM
75-
*
75+
*
7676
*/
7777
List<Command> finalizeExpungeNics(VirtualMachine vm, List<NicProfile> nics);
7878
}

0 commit comments

Comments
 (0)