[cvs] Expresso commit by mtraum: temoved depreciated methods

JCorporate Ltd jcorp at jcorp2.servlets.net
Tue Oct 12 10:01:16 PDT 2004


Log Message:
-----------
temoved depreciated methods

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db:
        DBConnectionPool.java

Revision Data
-------------
Index: DBConnectionPool.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java,v
retrieving revision 1.50
retrieving revision 1.51
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java -u -r1.50 -r1.51
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java
@@ -1183,18 +1183,6 @@
     } /* getDBName() */
 
     /**
-     * Version of getInstance that can only get an already initialized instance
-     * @deprecated Use getInstance(String dbName) instead
-     * @return    DBConnectionPool The instance of a connection pool
-     * @throws    DBException If the pool has not been initialized
-     */
-    static public DBConnectionPool getInstance()
-            throws DBException {
-        return getInstance("default");
-    } /* getInstance() */
-
-
-    /**
      * Does this database connection support commit/rollback?
      * @param connName the connection name
      * @return true if the db supports transactions
@@ -1284,28 +1272,6 @@
     /**
      * Return the entire pool of connections as a Vector
      *
-     * @deprecated Use getPoolList() instead
-     * @return    Vector A vector containing the DBConnection objects
-     * @throws    DBException If the pool cannot be returned
-     */
-    public synchronized Vector getPool()
-            throws DBException {
-        Vector v;
-        synchronized (poolLock) {
-            v = new Vector(available);
-
-            for (Iterator it = inUse.values().iterator(); it.hasNext();) {
-                v.addElement(it.next());
-            }
-        }
-
-        return v;
-    } /* getPool() */
-
-
-    /**
-     * Return the entire pool of connections as a Vector
-     *
      * @return    ArrayList An array list containing the DBConnection objects
      * @throws    DBException If the pool cannot be returned
      *
@@ -1322,16 +1288,6 @@
 
         return al;
     }
-
-    /**
-     *
-     * @deprecated Use get wild card list instead
-     * @return a Vector of Strings containing all wildcard characters
-     */
-    public Vector getWildCards() {
-        return new Vector(getWildCardsList());
-    } /* getWildCards() */
-
 
     public ArrayList getWildCardsList() {
         return new ArrayList(wildCards);


More information about the cvs mailing list