db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r664530 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java
Date Sun, 08 Jun 2008 17:30:48 GMT
Author: kahatlen
Date: Sun Jun  8 10:30:48 2008
New Revision: 664530

URL: http://svn.apache.org/viewvc?rev=664530&view=rev
Log:
DERBY-3701: Fixed indentation

Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java?rev=664530&r1=664529&r2=664530&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java Sun Jun  8 10:30:48
2008
@@ -88,7 +88,7 @@
 	Session (NetworkServerControlImpl nsctrl, int connNum, Socket clientSocket, String traceDirectory,
 			boolean traceOn) throws Exception
 	{
-                this.nsctrl = nsctrl;
+        this.nsctrl = nsctrl;
 		this.connNum = connNum;
 		this.clientSocket = clientSocket;
 		this.traceOn = traceOn;
@@ -127,8 +127,9 @@
 	 * initialize a server trace for the DRDA protocol
 	 * 
 	 * @param traceDirectory - directory for trace file
-         * @param throwException - true if we should throw an exception if turning on tracing
fails.
-         *                         We do this for NetworkServerControl API commands.
+     * @param throwException - true if we should throw an exception if
+     *                         turning on tracing fails.  We do this
+     *                         for NetworkServerControl API commands.
 	 * @throws IOException 
 	 */
 	protected void initTrace(String traceDirectory, boolean throwException)  throws Exception
@@ -141,18 +142,18 @@
 		
 		if (dssTrace == null)
 			dssTrace = new DssTrace();
-                try {
-                    dssTrace.startComBufferTrace (traceFileName);
-                    traceOn = true;
-                } catch (Exception e)
-                {   
-                    if (throwException)
-                        throw e;
-                    // If there is an error starting tracing for the session,
-                    // log to the console and derby.log and do not turn tracing on.
-                    // let connection continue.
-                    nsctrl.consoleExceptionPrintTrace(e);
-                }              
+        try {
+            dssTrace.startComBufferTrace(traceFileName);
+            traceOn = true;
+        } catch (Exception e) {   
+            if (throwException) {
+                throw e;
+            }
+            // If there is an error starting tracing for the session,
+            // log to the console and derby.log and do not turn tracing on.
+            // let connection continue.
+            nsctrl.consoleExceptionPrintTrace(e);
+        }              
 	}
 
 	/**



Mime
View raw message