Removed Whitespace errors in DBClient.java
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Sun, 26 Jul 2009 18:24:10 +0200
changeset 105 c19e37122deb
parent 104 b59f1c9895db
child 106 a540a842ddef
Removed Whitespace errors in DBClient.java committer: Markus Bröker <mbroeker@largo.homelinux.org>
javadb/org/homelinux/largo/sql/client/DBClient.java
--- a/javadb/org/homelinux/largo/sql/client/DBClient.java
+++ b/javadb/org/homelinux/largo/sql/client/DBClient.java
@@ -34,7 +34,7 @@
 
 	/**
 	 * Default Konstruktor to connect to my DataPool
-	 */ 
+	 */
 	public DBClient (String jndiResource) throws Exception {
 		Context ctx = new InitialContext ();
 		DataSource ds = (DataSource) ctx.lookup (jndiResource);
@@ -45,7 +45,7 @@
 
 	/**
 	 * Default Konstruktor to connect to my database with auth-data
-	 */ 	 
+	 */
 	public DBClient (String driver, String dbURL, String username, String password) throws Exception {
 		this.driver = driver;
 		this.dbURL = dbURL;
@@ -56,23 +56,23 @@
 		Class.forName (driver);
 		connection = DriverManager.getConnection (dbURL, username, password);
 		statement = connection.createStatement ();
-	} 
+	}
 
 	public void close () throws Exception {
 		connection.close ();
-	} 
+	}
 
 	public String getColumn (int pos) throws Exception {
 		return resultset.getString (pos);
-	} 
+	}
 
 	public String getColumn (String name) throws Exception {
 		return resultset.getString (name);
-	} 
+	}
 
 	public Connection getConnection () {
 		return connection;
-	} 
+	}
 
 	public String getDbURL () {
 		return dbURL;
@@ -96,7 +96,7 @@
 
 	public void query (String query) throws Exception {
 		resultset = statement.executeQuery (query);
-	} 
+	}
 
 	public void setConnection (Connection connection) {
 		this.connection = connection;