forked from olap4j/olap4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update source code to enforce coding standards (spaces, tabs, braces,…
… etc.). No functionality changes. git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@109 c6a108a4-781c-0410-a6c6-c2d559e19af0
- Loading branch information
1 parent
9c0fa92
commit 1e25fee
Showing
64 changed files
with
10,337 additions
and
10,321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
/* | ||
// This software is subject to the terms of the Common Public License | ||
// Agreement, available at the following URL: | ||
// http://www.opensource.org/licenses/cpl.html. | ||
// Copyright (C) 2008-2008 Julian Hyde | ||
// All Rights Reserved. | ||
// You must accept the terms of that agreement to use this software. | ||
*/ | ||
package org.olap4j; | ||
|
||
import javax.sql.DataSource; | ||
import java.sql.SQLException; | ||
|
||
/** | ||
* <p>A factory for connections to the physical OLAP data source that this | ||
* <code>OlapDataSource</code> object represents. | ||
* | ||
* <p><code>OlapDataSource</code> is a refinement of | ||
* {@link javax.sql.DataSource} whose <code>getConnection</code> methods | ||
* return {@link org.olap4j.OlapConnection} objects rather than mere | ||
* {@link java.sql.Connection}s. | ||
* | ||
* @author jhyde | ||
* @version $Id: $ | ||
* @since Mar 25, 2008 | ||
*/ | ||
public interface OlapDataSource extends DataSource { | ||
|
||
// override with more specific return type | ||
OlapConnection getConnection() throws SQLException; | ||
|
||
// override with more specific return type | ||
OlapConnection getConnection( | ||
String username, | ||
String password) | ||
throws SQLException; | ||
} | ||
|
||
// End OlapDataSource.java | ||
/* | ||
// This software is subject to the terms of the Common Public License | ||
// Agreement, available at the following URL: | ||
// http://www.opensource.org/licenses/cpl.html. | ||
// Copyright (C) 2008-2008 Julian Hyde | ||
// All Rights Reserved. | ||
// You must accept the terms of that agreement to use this software. | ||
*/ | ||
package org.olap4j; | ||
|
||
import javax.sql.DataSource; | ||
import java.sql.SQLException; | ||
|
||
/** | ||
* <p>A factory for connections to the physical OLAP data source that this | ||
* <code>OlapDataSource</code> object represents. | ||
* | ||
* <p><code>OlapDataSource</code> is a refinement of | ||
* {@link javax.sql.DataSource} whose <code>getConnection</code> methods | ||
* return {@link org.olap4j.OlapConnection} objects rather than mere | ||
* {@link java.sql.Connection}s. | ||
* | ||
* @author jhyde | ||
* @version $Id: $ | ||
* @since Mar 25, 2008 | ||
*/ | ||
public interface OlapDataSource extends DataSource { | ||
|
||
// override with more specific return type | ||
OlapConnection getConnection() throws SQLException; | ||
|
||
// override with more specific return type | ||
OlapConnection getConnection( | ||
String username, | ||
String password) | ||
throws SQLException; | ||
} | ||
|
||
// End OlapDataSource.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.