Author: lektran
Date: Wed Mar 24 23:32:41 2010
New Revision: 927227
URL:
http://svn.apache.org/viewvc?rev=927227&view=revLog:
Removed an unused private method
Modified:
ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
Modified: ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java?rev=927227&r1=927226&r2=927227&view=diff==============================================================================
--- ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java (original)
+++ ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java Wed Mar 24 23:32:41 2010
@@ -257,25 +257,6 @@ public class OFBizBirtViewerReportServic
}
/**
- * get connection
- */
- private Connection getConnection() {
- Connection connection = null;
- try {
- String delegatorGroupHelperName = BirtContainer.getDelegatorGroupHelperName();
- Delegator delegator = BirtContainer.getDelegator();
- Debug.logInfo("Get the JDBC connection from group helper's name:" + delegatorGroupHelperName, module);
- String helperName = delegator.getGroupHelperName(delegatorGroupHelperName); // gets the helper (localderby, localmysql, localpostgres, etc.) for your entity group org.ofbiz
- connection = ConnectionFactory.getConnection(helperName);
- } catch (GenericEntityException e) {
- Debug.logError(e, module);
- } catch (SQLException e) {
- Debug.logError(e, module);
- }
- return connection;
- }
-
- /**
* @param e
* @throws DummyRemoteException
*/