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/onlygetconnectionservlet/servlet/OnlyGetConnectionServlet.java b/appserver/tests/appserv-tests/devtests/jdbc/onlygetconnectionservlet/servlet/OnlyGetConnectionServlet.java
index 5fc92d9..02fa081 100644
--- a/appserver/tests/appserv-tests/devtests/jdbc/onlygetconnectionservlet/servlet/OnlyGetConnectionServlet.java
+++ b/appserver/tests/appserv-tests/devtests/jdbc/onlygetconnectionservlet/servlet/OnlyGetConnectionServlet.java
@@ -26,9 +26,9 @@
/**
* Collection of getConnection tests using a servlet
- *
+ *
* @author aditya.gore@sun.com
- */
+ */
public class OnlyGetConnectionServlet extends HttpServlet {
@@ -36,10 +36,10 @@
private PrintWriter out;
private UserTransaction utx;
- public void doGet( HttpServletRequest req, HttpServletResponse resp )
+ public void doGet( HttpServletRequest req, HttpServletResponse resp )
throws IOException, ServletException
{
-System.out.println(" @@@@ in doGet");
+System.out.println(" @@@@ in doGet");
out = resp.getWriter();
writeHeader();
@@ -72,9 +72,9 @@
con = ds.getConnection();
stmt = con.createStatement();
rs = stmt.executeQuery("SELECT * FROM ONLYGETCONNECTION");
- out.println("test1 :: PASSED");
+ out.println("test1 :: PASSED");
} catch(Exception e) {
- e.printStackTrace( out );
+ e.printStackTrace( out );
return;
} finally {
if ( rs != null ) { try { rs.close(); }catch( Exception e) {} }
@@ -92,15 +92,15 @@
utx.begin();
con = ds.getConnection();
try {
- Thread.sleep( 5000 );
+ Thread.sleep( 5000 );
} catch(Exception e) {
}
stmt = con.createStatement();
rs = stmt.executeQuery("SELECT * FROM ONLYGETCONNECTION");
utx.commit();
- out.println("test2 :: PASSED");
+ out.println("test2 :: PASSED");
} catch(Exception e) {
- e.printStackTrace( out );
+ e.printStackTrace( out );
return;
} finally {
if ( rs != null ) { try { rs.close(); }catch( Exception e) {} }