db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r492096 - /db/derby/docs/trunk/src/workingwithderby/rwwdactivity3.dita
Date Wed, 03 Jan 2007 10:24:01 GMT
Author: kristwaa
Date: Wed Jan  3 02:24:01 2007
New Revision: 492096

URL: http://svn.apache.org/viewvc?view=rev&rev=492096
Log:
Removed end-of-line TAB characters.

Modified:
    db/derby/docs/trunk/src/workingwithderby/rwwdactivity3.dita

Modified: db/derby/docs/trunk/src/workingwithderby/rwwdactivity3.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/workingwithderby/rwwdactivity3.dita?view=diff&rev=492096&r1=492095&r2=492096
==============================================================================
--- db/derby/docs/trunk/src/workingwithderby/rwwdactivity3.dita (original)
+++ db/derby/docs/trunk/src/workingwithderby/rwwdactivity3.dita Wed Jan  3 02:24:01 2007
@@ -113,7 +113,7 @@
 <codeblock>String connectionURL = "jdbc:derby:" + dbName + ";create=true";
 ...
 try {
-    conn = DriverManager.getConnection(connectionURL);	
+    conn = DriverManager.getConnection(connectionURL);
     ...  <i>&lt;most of the program code is contained here></i>
 }  catch (Throwable e)  {   
    ...
@@ -194,15 +194,15 @@
    boolean gotSQLExc = false;
    try {
       DriverManager.getConnection("jdbc:derby:;shutdown=true");
-   } catch (SQLException se)  {	
-      if ( se.getSQLState().equals("XJ015") ) {		
+   } catch (SQLException se)  {
+      if ( se.getSQLState().equals("XJ015") ) {
          gotSQLExc = true;
       }
    }
    if (!gotSQLExc) {
       System.out.println("Database did not shut down normally");
    }  else  {
-      System.out.println("Database shut down normally");	
+      System.out.println("Database shut down normally");
    }
 }</codeblock>
 <note type="important">The XJ015 error is the only exception thrown by 



Mime
View raw message