Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-08-31 01:59:51 -0400
committerrbrooks2010-08-31 01:59:51 -0400
commit01d779ec33bdbfae5db3daca4fbceb3bbfb61765 (patch)
tree3fa35634c0d9c280e80046a0d8f54807451d64d7 /plugins/org.eclipse.osee.framework.database
parentec5f685d4b7d45e3cafb9dd4bb81779b123960c3 (diff)
downloadorg.eclipse.osee-01d779ec33bdbfae5db3daca4fbceb3bbfb61765.tar.gz
org.eclipse.osee-01d779ec33bdbfae5db3daca4fbceb3bbfb61765.tar.xz
org.eclipse.osee-01d779ec33bdbfae5db3daca4fbceb3bbfb61765.zip
remove unused Javadoc stubs
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database')
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/ConnectionHandler.java5
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/DbTransaction.java8
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IDbTransactionWork.java6
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IOseeStatement.java13
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/OseeStatementImpl.java13
5 files changed, 0 insertions, 45 deletions
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/ConnectionHandler.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/ConnectionHandler.java
index 9e54ac2742..30875a2695 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/ConnectionHandler.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/ConnectionHandler.java
@@ -65,7 +65,6 @@ public final class ConnectionHandler {
* This method should only be used when not contained in a DB transaction
*
* @return number of records updated
- * @throws OseeDataStoreException
*/
public static <O extends Object> int runPreparedUpdate(String query, O... data) throws OseeDataStoreException {
return getDatabase().runPreparedUpdate(query, data);
@@ -75,7 +74,6 @@ public final class ConnectionHandler {
* This method should only be used when not contained in a DB transaction
*
* @return number of records updated
- * @throws OseeDataStoreException
*/
public static <O extends Object> int runBatchUpdate(String query, List<O[]> dataList) throws OseeDataStoreException {
return getDatabase().runBatchUpdate(query, dataList);
@@ -85,7 +83,6 @@ public final class ConnectionHandler {
* This method should only be used when contained in a DB transaction
*
* @return number of records updated
- * @throws OseeDataStoreException
*/
public static <O extends Object> int runPreparedUpdate(OseeConnection connection, String query, O... data) throws OseeDataStoreException {
return getDatabase().runPreparedUpdate(connection, query, data);
@@ -155,8 +152,6 @@ public final class ConnectionHandler {
/**
* Cause constraint checking to be deferred until the end of the current transaction.
- *
- * @throws OseeDataStoreException
*/
public static void deferConstraintChecking(OseeConnection connection) throws OseeDataStoreException {
if (SupportedDatabase.getDatabaseType(connection.getMetaData()) == SupportedDatabase.derby) {
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/DbTransaction.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/DbTransaction.java
index b55e8e49fd..af8ebec682 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/DbTransaction.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/DbTransaction.java
@@ -32,8 +32,6 @@ public abstract class DbTransaction {
/**
* This template method calls {@link #handleTxWork} which is provided by child classes. This method handles
* roll-backs and exception handling to prevent transactions from being left in an incorrect state.
- *
- * @throws OseeCoreException
*/
public void execute() throws OseeCoreException {
DatabaseTransactions.execute(new InternalTransactionWork());
@@ -41,8 +39,6 @@ public abstract class DbTransaction {
/**
* Provides the transaction's work implementation.
- *
- * @throws OseeCoreException
*/
protected abstract void handleTxWork(OseeConnection connection) throws OseeCoreException;
@@ -50,8 +46,6 @@ public abstract class DbTransaction {
* When an exception is detected during transaction processing, the exception is caught and passed to this method.
* This convenience method is provided so child classes have access to the exception. <br/>
* <b>Override to handle transaction exception</b>
- *
- * @throws Exception
*/
protected void handleTxException(Exception ex) {
}
@@ -60,8 +54,6 @@ public abstract class DbTransaction {
* This convenience method is provided in case child classes have a portion of code that needs to execute always at
* the end of the transaction, regardless of exceptions. <br/>
* <b>Override to add additional code to finally block</b>
- *
- * @throws OseeCoreException
*/
protected void handleTxFinally() throws OseeCoreException {
// override to add additional code to finally
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IDbTransactionWork.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IDbTransactionWork.java
index 53996c4d72..9b61d676f3 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IDbTransactionWork.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IDbTransactionWork.java
@@ -22,8 +22,6 @@ public interface IDbTransactionWork extends Named {
/**
* Provides the transaction's work implementation.
- *
- * @throws OseeCoreException
*/
void handleTxWork(OseeConnection connection) throws OseeCoreException;
@@ -31,8 +29,6 @@ public interface IDbTransactionWork extends Named {
* When an exception is detected during transaction processing, the exception is caught and passed to this method.
* This convenience method is provided so child classes have access to the exception. <br/>
* <b>Override to handle transaction exception</b>
- *
- * @throws Exception
*/
void handleTxException(Exception ex);
@@ -40,8 +36,6 @@ public interface IDbTransactionWork extends Named {
* This convenience method is provided in case child classes have a portion of code that needs to execute always at
* the end of the transaction, regardless of exceptions. <br/>
* <b>Override to add additional code to finally block</b>
- *
- * @throws OseeCoreException
*/
void handleTxFinally() throws OseeCoreException;
} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IOseeStatement.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IOseeStatement.java
index 344fe9288b..116bc4c219 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IOseeStatement.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/core/IOseeStatement.java
@@ -29,15 +29,12 @@ public interface IOseeStatement extends Closeable {
/**
* @param fetchSize hint as to the number of rows that should be fetched from the database at a time. will be limited
* to 10,000
- * @throws OseeDataStoreException
*/
void runPreparedQuery(int fetchSize, String query, Object... data) throws OseeDataStoreException;
/**
* Invokes a stored procedure parameters of type SQL3DataType are registered as Out parameters and all others are set
* as in parameters
- *
- * @throws OseeDataStoreException
*/
void runCallableStatement(String query, Object... data) throws OseeDataStoreException;
@@ -89,7 +86,6 @@ public interface IOseeStatement extends Closeable {
* row
*
* @return the number of rows in the result set
- * @throws OseeDataStoreException
*/
int getRowCount() throws OseeDataStoreException;
@@ -99,9 +95,6 @@ public interface IOseeStatement extends Closeable {
/**
* should not be used by application code because it is less readable than using the column name
- *
- * @return value
- * @throws OseeDataStoreException
*/
int getInt(int columnIndex) throws OseeDataStoreException;
@@ -109,17 +102,11 @@ public interface IOseeStatement extends Closeable {
/**
* should not be used by application code because it is less readable than using the column name
- *
- * @return value
- * @throws OseeDataStoreException
*/
long getLong(int columnIndex) throws OseeDataStoreException;
/**
* should not be used by application code because it is less readable than using the column name
- *
- * @return value
- * @throws OseeDataStoreException
*/
String getString(int columnIndex) throws OseeDataStoreException;
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/OseeStatementImpl.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/OseeStatementImpl.java
index d7b067eb51..926f756d14 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/OseeStatementImpl.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/core/OseeStatementImpl.java
@@ -70,7 +70,6 @@ public final class OseeStatementImpl implements IOseeStatement {
/**
* @param fetchSize hint as to the number of rows that should be fetched from the database at a time. will be limited
* to 10,000
- * @throws OseeDataStoreException
*/
@Override
public void runPreparedQuery(int fetchSize, String query, Object... data) throws OseeDataStoreException {
@@ -90,8 +89,6 @@ public final class OseeStatementImpl implements IOseeStatement {
/**
* Invokes a stored procedure parameters of type SQL3DataType are registered as Out parameters and all others are set
* as in parameters
- *
- * @throws OseeDataStoreException
*/
@Override
public void runCallableStatement(String query, Object... data) throws OseeDataStoreException {
@@ -145,9 +142,6 @@ public final class OseeStatementImpl implements IOseeStatement {
/**
* allows for multiple uses of this object to have an open connection
- *
- * @throws SQLException
- * @throws OseeDataStoreException
*/
private void allowReuse() throws OseeDataStoreException {
if (connection == null) {
@@ -255,9 +249,6 @@ public final class OseeStatementImpl implements IOseeStatement {
/**
* should not be used by application code because it is less readable than using the column name
- *
- * @return value
- * @throws OseeDataStoreException
*/
@Override
public long getLong(int columnIndex) throws OseeDataStoreException {
@@ -270,9 +261,6 @@ public final class OseeStatementImpl implements IOseeStatement {
/**
* should not be used by application code because it is less readable than using the column name
- *
- * @return value
- * @throws OseeDataStoreException
*/
@Override
public String getString(int columnIndex) throws OseeDataStoreException {
@@ -387,7 +375,6 @@ public final class OseeStatementImpl implements IOseeStatement {
* row
*
* @return the number of rows in the result set
- * @throws OseeDataStoreException
*/
@Override
public int getRowCount() throws OseeDataStoreException {

Back to the top