Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java @ 94:5332d956729c
Brought all line lengths of non Javadoc lines below 80.
artifacts/trunk@937 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 17 Apr 2010 10:28:43 +0000 |
parents | e27cf9c84eb8 |
children | 933bbc9fc11f |
comparison
equal
deleted
inserted
replaced
93:e27cf9c84eb8 | 94:5332d956729c |
---|---|
56 + ".properties"; | 56 + ".properties"; |
57 in = SQL.class.getResourceAsStream(res); | 57 in = SQL.class.getResourceAsStream(res); |
58 | 58 |
59 if (in == null) { | 59 if (in == null) { |
60 logger.warn("No SQL file for driver '" + driver + "' found."); | 60 logger.warn("No SQL file for driver '" + driver + "' found."); |
61 res = "/sql/" + DBConnection.DEFAULT_DRIVER.replace('.', '-').toLowerCase() | 61 res = "/sql/" |
62 + DBConnection.DEFAULT_DRIVER.replace('.', '-') | |
63 .toLowerCase() | |
62 + ".properties"; | 64 + ".properties"; |
63 if ((in = SQL.class.getResourceAsStream(res)) == null) { | 65 if ((in = SQL.class.getResourceAsStream(res)) == null) { |
64 logger.error("No SQL file found"); | 66 logger.error("No SQL file found"); |
65 } | 67 } |
66 } | 68 } |