[cvs] expresso commit by lhamel: remove duplicate getLocalConnection that

JCorporate Ltd jcorp at jcorporate.com
Thu Jan 6 19:21:36 UTC 2005


Log Message:
-----------
remove duplicate getLocalConnection that just masks superclass method

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj:
        DBObject.java

Revision Data
-------------
Index: DBObject.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java,v
retrieving revision 1.238
retrieving revision 1.239
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java -u -r1.238 -r1.239
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java
@@ -3047,7 +3047,7 @@
      * </p>
      *
      * @param fieldName Name of the field to be retrieved
-     * @return BigDecimal The value of the field as a BigDecimal object
+     * @return BigDecimal The value of the field as a BigDecimal object; never null; will return 0 if no data
      * @throws DBException If there is no such field or it's value
      *                     cannot be converted to a BigDecimal
      *                     <p/>
@@ -3409,18 +3409,6 @@
 
         return oneField.getLookupObject();
     } /* getLookupObject(String) */
-
-
-    /**
-     * Returns the local connection currently associated with this DBObject...
-     * may be null if no local connection has ever been set.
-     *
-     * @return com.jcorporate.expresso.core.db.DBConnection or null
-     */
-    public DBConnection getLocalConnection() {
-        return localConnection;
-    }
-
 
     /**
      * Get the Maximum value in the table of a particular field


More information about the cvs mailing list