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/jdbc/appauthtx/client/SimpleBMPClient.java b/appserver/tests/appserv-tests/devtests/jdbc/appauthtx/client/SimpleBMPClient.java
index 52576e7..99430c6 100644
--- a/appserver/tests/appserv-tests/devtests/jdbc/appauthtx/client/SimpleBMPClient.java
+++ b/appserver/tests/appserv-tests/devtests/jdbc/appauthtx/client/SimpleBMPClient.java
@@ -28,38 +28,38 @@
public static void main(String[] args)
throws Exception {
-
- String testSuite = "AppAuthTX ";
- SimpleReporterAdapter stat = new SimpleReporterAdapter();
+
+ String testSuite = "AppAuthTX ";
+ SimpleReporterAdapter stat = new SimpleReporterAdapter();
InitialContext ic = new InitialContext();
Object objRef = ic.lookup("java:comp/env/ejb/SimpleBMPHome");
- SimpleBMPHome simpleBMPHome = (SimpleBMPHome)
+ SimpleBMPHome simpleBMPHome = (SimpleBMPHome)
javax.rmi.PortableRemoteObject.narrow(objRef, SimpleBMPHome.class);
SimpleBMP simpleBMP = simpleBMPHome.create();
- stat.addDescription("JDBC Application Authentication TX test");
-
+ stat.addDescription("JDBC Application Authentication TX test");
+
System.out.println(" All tests will fail with Derby till XA driver is fixed");
- if ( simpleBMP.test1() ) {
- stat.addStatus(testSuite+"test1 : ", stat.PASS);
- } else {
- stat.addStatus(testSuite+"test1 : ", stat.FAIL);
- }
+ if ( simpleBMP.test1() ) {
+ stat.addStatus(testSuite+"test1 : ", stat.PASS);
+ } else {
+ stat.addStatus(testSuite+"test1 : ", stat.FAIL);
+ }
- if ( simpleBMP.test2() ) {
- stat.addStatus(testSuite+"test2 : ", stat.PASS);
- } else {
- stat.addStatus(testSuite+"test2 : ", stat.FAIL);
- }
+ if ( simpleBMP.test2() ) {
+ stat.addStatus(testSuite+"test2 : ", stat.PASS);
+ } else {
+ stat.addStatus(testSuite+"test2 : ", stat.FAIL);
+ }
- if ( simpleBMP.test3() ) {
- stat.addStatus(testSuite+"test3 : ", stat.PASS);
- } else {
- stat.addStatus(testSuite+"test3 : ", stat.FAIL);
- }
-
- System.out.println("jdbc appauthtx status:");
- stat.printSummary();
+ if ( simpleBMP.test3() ) {
+ stat.addStatus(testSuite+"test3 : ", stat.PASS);
+ } else {
+ stat.addStatus(testSuite+"test3 : ", stat.FAIL);
+ }
+
+ System.out.println("jdbc appauthtx status:");
+ stat.printSummary();
}
}