comparison flys-backend/src/main/java/de/intevation/flys/utils/DBCPConnectionProvider.java @ 464:d37ccb04ab5d

Removed trailing whitespace. flys-backend/trunk@1637 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 03 Apr 2011 10:41:27 +0000
parents 4ab2c3bd474c
children 0af4c8386ed0
comparison
equal deleted inserted replaced
463:24e356cf9f6c 464:d37ccb04ab5d
80 80
81 private static final String PREFIX = "hibernate.dbcp."; 81 private static final String PREFIX = "hibernate.dbcp.";
82 82
83 private BasicDataSource ds; 83 private BasicDataSource ds;
84 84
85 // Old Environment property for backward-compatibility 85 // Old Environment property for backward-compatibility
86 // (property removed in Hibernate3) 86 // (property removed in Hibernate3)
87 private static final String DBCP_PS_MAXACTIVE = 87 private static final String DBCP_PS_MAXACTIVE =
88 "hibernate.dbcp.ps.maxActive"; 88 "hibernate.dbcp.ps.maxActive";
89 89
90 // Property doesn't exists in Hibernate2 90 // Property doesn't exists in Hibernate2
138 Properties driverProps = 138 Properties driverProps =
139 ConnectionProviderFactory.getConnectionProperties(props); 139 ConnectionProviderFactory.getConnectionProperties(props);
140 140
141 if (driverProps.size() > 0) { 141 if (driverProps.size() > 0) {
142 StringBuilder connectionProperties = new StringBuilder(); 142 StringBuilder connectionProperties = new StringBuilder();
143 for (Iterator iter = driverProps.entrySet().iterator(); 143 for (Iterator iter = driverProps.entrySet().iterator();
144 iter.hasNext(); 144 iter.hasNext();
145 ) { 145 ) {
146 Map.Entry entry = (Map.Entry)iter.next(); 146 Map.Entry entry = (Map.Entry)iter.next();
147 String key = (String)entry.getKey(); 147 String key = (String)entry.getKey();
148 String value = (String)entry.getValue(); 148 String value = (String)entry.getValue();

http://dive4elements.wald.intevation.org