Skip to content

Commit a0171b9

Browse files
committed
changing lots of line endings
1 parent 6ff3dc3 commit a0171b9

58 files changed

Lines changed: 7726 additions & 7726 deletions

Some content is hidden

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

core/src/com/cloud/agent/IAgentControl.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
// limitations under the License.
1111
//
1212
// Automatically generated by addcopyright.py at 04/03/2012
13-
package com.cloud.agent;
14-
15-
13+
package com.cloud.agent;
14+
15+
1616
import com.cloud.agent.api.AgentControlAnswer;
1717
import com.cloud.agent.api.AgentControlCommand;
1818
import com.cloud.exception.AgentControlChannelException;
19-
20-
public interface IAgentControl {
21-
void registerControlListener(IAgentControlListener listener);
22-
void unregisterControlListener(IAgentControlListener listener);
23-
24-
AgentControlAnswer sendRequest(AgentControlCommand cmd, int timeoutInMilliseconds) throws AgentControlChannelException;
25-
void postRequest(AgentControlCommand cmd) throws AgentControlChannelException;
26-
}
19+
20+
public interface IAgentControl {
21+
void registerControlListener(IAgentControlListener listener);
22+
void unregisterControlListener(IAgentControlListener listener);
23+
24+
AgentControlAnswer sendRequest(AgentControlCommand cmd, int timeoutInMilliseconds) throws AgentControlChannelException;
25+
void postRequest(AgentControlCommand cmd) throws AgentControlChannelException;
26+
}

core/src/com/cloud/agent/IAgentControlListener.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
// limitations under the License.
1111
//
1212
// Automatically generated by addcopyright.py at 04/03/2012
13-
package com.cloud.agent;
14-
13+
package com.cloud.agent;
14+
1515
import com.cloud.agent.api.AgentControlAnswer;
1616
import com.cloud.agent.api.AgentControlCommand;
1717
import com.cloud.agent.api.Answer;
1818
import com.cloud.agent.transport.Request;
1919
import com.cloud.agent.transport.Response;
20-
21-
public interface IAgentControlListener {
22-
public Answer processControlRequest(Request request, AgentControlCommand cmd);
23-
public void processControlResponse(Response response, AgentControlAnswer answer);
24-
}
20+
21+
public interface IAgentControlListener {
22+
public Answer processControlRequest(Request request, AgentControlCommand cmd);
23+
public void processControlResponse(Response response, AgentControlAnswer answer);
24+
}

core/src/com/cloud/alert/AlertAdapter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
// limitations under the License.
1111
//
1212
// Automatically generated by addcopyright.py at 04/03/2012
13-
package com.cloud.alert;
14-
13+
package com.cloud.alert;
14+
1515
import com.cloud.utils.component.Adapter;
16-
17-
public interface AlertAdapter extends Adapter {
18-
}
16+
17+
public interface AlertAdapter extends Adapter {
18+
}

core/src/com/cloud/alert/AlertVO.java

Lines changed: 108 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// limitations under the License.
1111
//
1212
// Automatically generated by addcopyright.py at 04/03/2012
13-
package com.cloud.alert;
14-
13+
package com.cloud.alert;
14+
1515
import java.util.Date;
1616
import java.util.UUID;
1717

@@ -26,135 +26,135 @@
2626

2727
import com.cloud.api.Identity;
2828
import com.cloud.utils.db.GenericDao;
29-
30-
@Entity
31-
@Table(name="alert")
32-
public class AlertVO implements Alert, Identity {
33-
@Id
34-
@GeneratedValue(strategy=GenerationType.IDENTITY)
35-
@Column(name="id")
36-
private long id;
37-
38-
@Column(name="type")
29+
30+
@Entity
31+
@Table(name="alert")
32+
public class AlertVO implements Alert, Identity {
33+
@Id
34+
@GeneratedValue(strategy=GenerationType.IDENTITY)
35+
@Column(name="id")
36+
private long id;
37+
38+
@Column(name="type")
3939
private short type;
40-
40+
4141
@Column(name="cluster_id")
4242
private Long clusterId = null;
43-
44-
@Column(name="pod_id")
45-
private Long podId = null;
46-
47-
@Column(name="data_center_id")
48-
private long dataCenterId = 0;
49-
50-
@Column(name="subject", length=999)
51-
private String subject;
52-
53-
@Column(name="sent_count")
54-
private int sentCount = 0;
55-
56-
@Column(name=GenericDao.CREATED_COLUMN)
57-
private Date createdDate;
58-
59-
@Temporal(TemporalType.TIMESTAMP)
60-
@Column(name="last_sent", updatable=true, nullable=true)
61-
private Date lastSent;
62-
63-
@Temporal(TemporalType.TIMESTAMP)
64-
@Column(name="resolved", updatable=true, nullable=true)
43+
44+
@Column(name="pod_id")
45+
private Long podId = null;
46+
47+
@Column(name="data_center_id")
48+
private long dataCenterId = 0;
49+
50+
@Column(name="subject", length=999)
51+
private String subject;
52+
53+
@Column(name="sent_count")
54+
private int sentCount = 0;
55+
56+
@Column(name=GenericDao.CREATED_COLUMN)
57+
private Date createdDate;
58+
59+
@Temporal(TemporalType.TIMESTAMP)
60+
@Column(name="last_sent", updatable=true, nullable=true)
61+
private Date lastSent;
62+
63+
@Temporal(TemporalType.TIMESTAMP)
64+
@Column(name="resolved", updatable=true, nullable=true)
6565
private Date resolved;
6666

6767
@Column(name="uuid")
6868
private String uuid;
69-
69+
7070
public AlertVO() {
7171
this.uuid = UUID.randomUUID().toString();
72-
}
73-
public AlertVO(Long id) {
74-
this.id = id;
72+
}
73+
public AlertVO(Long id) {
74+
this.id = id;
7575
this.uuid = UUID.randomUUID().toString();
76-
}
77-
76+
}
77+
7878
@Override
79-
public long getId() {
80-
return id;
81-
}
79+
public long getId() {
80+
return id;
81+
}
8282
@Override
83-
public short getType() {
84-
return type;
85-
}
86-
87-
public void setType(short type) {
88-
this.type = type;
89-
}
90-
83+
public short getType() {
84+
return type;
85+
}
86+
87+
public void setType(short type) {
88+
this.type = type;
89+
}
90+
9191
@Override
92-
public String getSubject() {
93-
return subject;
94-
}
95-
96-
public void setSubject(String subject) {
97-
this.subject = subject;
98-
}
99-
92+
public String getSubject() {
93+
return subject;
94+
}
95+
96+
public void setSubject(String subject) {
97+
this.subject = subject;
98+
}
99+
100100
public Long getClusterId() {
101101
return clusterId;
102102
}
103103
public void setClusterId(Long clusterId) {
104104
this.clusterId = clusterId;
105105
}
106106
@Override
107-
public Long getPodId() {
108-
return podId;
109-
}
110-
111-
public void setPodId(Long podId) {
112-
this.podId = podId;
113-
}
114-
107+
public Long getPodId() {
108+
return podId;
109+
}
110+
111+
public void setPodId(Long podId) {
112+
this.podId = podId;
113+
}
114+
115115
@Override
116-
public long getDataCenterId() {
117-
return dataCenterId;
118-
}
119-
120-
public void setDataCenterId(long dataCenterId) {
121-
this.dataCenterId = dataCenterId;
122-
}
123-
116+
public long getDataCenterId() {
117+
return dataCenterId;
118+
}
119+
120+
public void setDataCenterId(long dataCenterId) {
121+
this.dataCenterId = dataCenterId;
122+
}
123+
124124
@Override
125-
public int getSentCount() {
126-
return sentCount;
127-
}
128-
129-
public void setSentCount(int sentCount) {
130-
this.sentCount = sentCount;
131-
}
132-
125+
public int getSentCount() {
126+
return sentCount;
127+
}
128+
129+
public void setSentCount(int sentCount) {
130+
this.sentCount = sentCount;
131+
}
132+
133133
@Override
134-
public Date getCreatedDate() {
135-
return createdDate;
136-
}
137-
138-
public void setCreatedDate(Date createdDate) {
139-
this.createdDate = createdDate;
140-
}
141-
134+
public Date getCreatedDate() {
135+
return createdDate;
136+
}
137+
138+
public void setCreatedDate(Date createdDate) {
139+
this.createdDate = createdDate;
140+
}
141+
142142
@Override
143-
public Date getLastSent() {
144-
return lastSent;
145-
}
146-
147-
public void setLastSent(Date lastSent) {
148-
this.lastSent = lastSent;
149-
}
150-
143+
public Date getLastSent() {
144+
return lastSent;
145+
}
146+
147+
public void setLastSent(Date lastSent) {
148+
this.lastSent = lastSent;
149+
}
150+
151151
@Override
152-
public Date getResolved() {
153-
return resolved;
154-
}
155-
156-
public void setResolved(Date resolved) {
157-
this.resolved = resolved;
152+
public Date getResolved() {
153+
return resolved;
154+
}
155+
156+
public void setResolved(Date resolved) {
157+
this.resolved = resolved;
158158
}
159159

160160
@Override
@@ -164,5 +164,5 @@ public String getUuid() {
164164

165165
public void setUuid(String uuid) {
166166
this.uuid = uuid;
167-
}
168-
}
167+
}
168+
}

0 commit comments

Comments
 (0)