comparison backend/src/main/java/org/dive4elements/river/backend/utils/DBCPConnectionProvider.java @ 8842:ff27548d078c

Whitespace cosmetics.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Jan 2018 12:09:44 +0100
parents 19fa9fc39fa2
children 5e38e2924c07
comparison
equal deleted inserted replaced
8841:e8d2042c9639 8842:ff27548d078c
166 dbcpProperties.put( 166 dbcpProperties.put(
167 "connectionProperties", connectionProperties.toString()); 167 "connectionProperties", connectionProperties.toString());
168 } 168 }
169 169
170 // Copy all DBCP properties removing the prefix 170 // Copy all DBCP properties removing the prefix
171 for (Iterator iter = props.entrySet().iterator() ; iter.hasNext() ;) { 171 for (Iterator iter = props.entrySet().iterator();
172 iter.hasNext(); ) {
172 Map.Entry entry = (Map.Entry)iter.next(); 173 Map.Entry entry = (Map.Entry)iter.next();
173 String key = (String)entry.getKey(); 174 String key = (String)entry.getKey();
174 if (key.startsWith(PREFIX)) { 175 if (key.startsWith(PREFIX)) {
175 String property = key.substring(PREFIX.length()); 176 String property = key.substring(PREFIX.length());
176 String value = (String)entry.getValue(); 177 String value = (String)entry.getValue();

http://dive4elements.wald.intevation.org