Trimming trailing spaces, removing tabs by a script
- using tab width of 4 spaces
- trailing space in property files is converted to unicode, so it is
visible in sources
- bat files use CRLF
- all other text files use just LF
diff --git a/appserver/tests/appserv-tests/devtests/web/loadClassesFromZipFile/WebTest.java b/appserver/tests/appserv-tests/devtests/web/loadClassesFromZipFile/WebTest.java
index f2f2e41..4c936e1 100644
--- a/appserver/tests/appserv-tests/devtests/web/loadClassesFromZipFile/WebTest.java
+++ b/appserver/tests/appserv-tests/devtests/web/loadClassesFromZipFile/WebTest.java
@@ -38,7 +38,7 @@
port = args[1];
contextRoot = args[2];
}
-
+
public static void main(String[] args) {
stat.addDescription("Unit test for 4657979");
WebTest webTest = new WebTest(args);
@@ -47,7 +47,7 @@
}
public void doTest() {
- try {
+ try {
invoke();
stat.addStatus(TEST_NAME, stat.PASS);
} catch (Exception ex) {
@@ -58,7 +58,7 @@
}
private void invoke() throws Exception {
-
+
String url = "http://" + host + ":" + port + contextRoot
+ "/TestServlet";
HttpURLConnection conn = (HttpURLConnection)
@@ -76,7 +76,7 @@
input = new BufferedReader(new InputStreamReader(is));
String line = input.readLine();
if (!EXPECTED_RESPONSE.equals(line)) {
- throw new Exception("Wrong response. Expected: " +
+ throw new Exception("Wrong response. Expected: " +
EXPECTED_RESPONSE + ", received: " + line);
}
} finally {