Skip to content

Commit 54d9686

Browse files
committed
more line ending issues - agent
1 parent a0171b9 commit 54d9686

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# management server compile-time environment parameters
2-
3-
paths.pid=@PIDDIR@
1+
# management server compile-time environment parameters
2+
3+
paths.pid=@PIDDIR@

agent/test/com/cloud/agent/TestAgentShell.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,31 @@
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 java.io.File;
1616
import java.io.IOException;
1717

1818
import org.apache.log4j.Logger;
1919

2020
import com.cloud.agent.AgentShell;
2121
import com.cloud.utils.testcase.Log4jEnabledTestCase;
22-
23-
public class TestAgentShell extends Log4jEnabledTestCase {
24-
protected final static Logger s_logger = Logger.getLogger(TestAgentShell.class);
25-
26-
public void testWget() {
27-
File file = null;
28-
try {
29-
file = File.createTempFile("wget", ".html");
30-
AgentShell.wget("http://www.google.com/", file);
31-
32-
if (s_logger.isDebugEnabled()) {
33-
s_logger.debug("file saved to " + file.getAbsolutePath());
34-
}
35-
36-
} catch (final IOException e) {
37-
s_logger.warn("Exception while downloading agent update package, ", e);
38-
}
39-
}
40-
}
22+
23+
public class TestAgentShell extends Log4jEnabledTestCase {
24+
protected final static Logger s_logger = Logger.getLogger(TestAgentShell.class);
25+
26+
public void testWget() {
27+
File file = null;
28+
try {
29+
file = File.createTempFile("wget", ".html");
30+
AgentShell.wget("http://www.google.com/", file);
31+
32+
if (s_logger.isDebugEnabled()) {
33+
s_logger.debug("file saved to " + file.getAbsolutePath());
34+
}
35+
36+
} catch (final IOException e) {
37+
s_logger.warn("Exception while downloading agent update package, ", e);
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)