Mercurial > dive4elements > gnv-client
diff geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEPoolableObjectFactory.java @ 885:1c3efbd2fc5a
Removes trailing whitespace.
geo-backend/trunk@850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:49:16 +0000 |
parents | 12f88239fb33 |
children | 8b442223741c |
line wrap: on
line diff
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEPoolableObjectFactory.java Fri Mar 26 15:23:03 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEPoolableObjectFactory.java Mon Mar 29 07:49:16 2010 +0000 @@ -13,7 +13,7 @@ /** * ArcSDE specific Implementation of an PoolableObjectFactory. * This factory instantiate Objects of type ArcSDEConnection. - * + * * @author Tim Englich (tim.englich@intevation.de) * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) */ @@ -28,9 +28,9 @@ /** * The 5 seconds are inspired by GeoTools's testServer() usage. */ - private int serverRoundtripInterval = 5; + private int serverRoundtripInterval = 5; /** - * The value of the maximum Time a Connection is allowed to + * The value of the maximum Time a Connection is allowed to * be inactive without the validation of the Connection. */ private long serverInactiveInterval = 5L*60L*1000L; // 5 minutes @@ -54,7 +54,7 @@ * The Credentials which belongs to the User */ private String credentials = null; - + /** * Constructor of this Class * @param properties the Properties which includes the ConnectionParams to the Database @@ -73,7 +73,7 @@ properties.getProperty("serverRoundtripInterval"); String serverInactiveIntervalValue = properties.getProperty("serverInactiveInterval"); - + try { if (serverRoundtripIntervalValue != null) { serverRoundtripInterval = @@ -93,7 +93,7 @@ catch (NumberFormatException e) { log.error(e,e); } - + log.info("ArcSDEPoolableObjectFactory initialized"); log.info("Server: " + server); log.info("Port: " + port); @@ -130,9 +130,9 @@ Connection con; try { con = new ArcSDEConnection( - server, + server, port, - database, + database, username, credentials, serverRoundtripInterval,