Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/db/SQL.java @ 394:c40729bfe06d
Removed trailing whitespace.
artifacts/trunk@4764 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 23 Jun 2012 08:20:02 +0000 |
parents | d96bcb40dbf9 |
children |
comparison
equal
deleted
inserted
replaced
393:b7831cefbb62 | 394:c40729bfe06d |
---|---|
48 */ | 48 */ |
49 protected Properties loadStatements( | 49 protected Properties loadStatements( |
50 Class clazz, | 50 Class clazz, |
51 String resourcePath, | 51 String resourcePath, |
52 String driver | 52 String driver |
53 ) { | 53 ) { |
54 logger.debug("loadStatements"); | 54 logger.debug("loadStatements"); |
55 | 55 |
56 Properties properties = new Properties(); | 56 Properties properties = new Properties(); |
57 | 57 |
58 String resDriver = driverToProperties(driver); | 58 String resDriver = driverToProperties(driver); |
103 if (sql == null) { | 103 if (sql == null) { |
104 logger.error("cannot find SQL for key '" + key + "'"); | 104 logger.error("cannot find SQL for key '" + key + "'"); |
105 } | 105 } |
106 | 106 |
107 if (debug) { | 107 if (debug) { |
108 logger.debug("-> '" + sql + "'"); | 108 logger.debug("-> '" + sql + "'"); |
109 } | 109 } |
110 | 110 |
111 return sql; | 111 return sql; |
112 } | 112 } |
113 } | 113 } |