Show
Ignore:
Timestamp:
07/19/09 19:24:43 (3 years ago)
Author:
martijn
Message:

Fixed style and javadoc issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/corelib/src/org/bridgedb/rdb/DBConnector.java

    r105 r106  
    4242         
    4343        /** 
    44          * Type for gene database 
     44         * Type for gene database. 
    4545         */ 
    4646        public static final int TYPE_GDB = 0; 
    4747        /** 
    48          * Type for expression database 
     48         * Type for expression database. 
    4949         */ 
    5050        public static final int TYPE_GEX = 1; 
     
    5353         
    5454        /** 
    55          * Close the given connection 
     55         * Close the given connection. 
    5656         * @param con The connection to be closed 
    57          * @throws Exception 
     57         * @throws IDMapperException when there was a database error 
    5858         */ 
    5959        public void closeConnection(Connection con) throws IDMapperException  
     
    6363         
    6464        /** 
    65          * Close the given connection, and optionally finalize it after creation (using {@link #PROP_FINALIZE}) 
     65         * Close the given connection, and optionally finalize it after creation (using {@link #PROP_FINALIZE}). 
    6666         * @param con The connection to be closed 
    6767         * @param props Close properties (one of {@link #PROP_NONE}, {@link #PROP_FINALIZE} or {@link #PROP_RECREATE}) 
    68          * @throws Exception 
     68         * @throws IDMapperException when there was a database error 
    6969         */ 
    7070        public void closeConnection(Connection con, int props) throws IDMapperException  
     
    8383 
    8484        /** 
    85          * Set the database type (one of {@link #TYPE_GDB} or {@link #TYPE_GEX}) 
     85         * Set the database type (one of {@link #TYPE_GDB} or {@link #TYPE_GEX}). 
    8686         * @param type The type of the database that will be used for this class 
    8787         */ 
     
    8989         
    9090        /** 
    91          * Get the database type (one of {@link #TYPE_GDB} or {@link #TYPE_GEX}) 
    92          * return The type of the database that is used for this class 
     91         * Get the database type (one of {@link #TYPE_GDB} or {@link #TYPE_GEX}). 
     92         * @return The type of the database that is used for this class 
    9393         */ 
    9494        public int getDbType() { return dbType; } 
    9595         
    96  
    97                  
    9896        /** 
    9997         * This method is called to finalize the given database after creation 
     
    103101         * The database connection needs to be closed before running this method. 
    104102         * @param dbName The name of the database to finalize    
    105          * @throws Exception 
    106103         * @return The name of the finalized database 
     104         * @throws IDMapperException when there was a database error 
    107105         */ 
    108106        public abstract String finalizeNewDatabase(String dbName) throws IDMapperException; 
     
    113111         * after all data is added to the database. 
    114112         * @param con A connection to the database 
    115          * @throws SQLException 
     113         * @throws IDMapperException when there was a database error 
    116114         */ 
    117115        public void compact(Connection con) throws IDMapperException