comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTableFactory.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents 682a26e4158b
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
105 105
106 // Fetch data for one column only. 106 // Fetch data for one column only.
107 107
108 WstValueTable.Column [] columns = loadColumns(session, wst_id); 108 WstValueTable.Column [] columns = loadColumns(session, wst_id);
109 loadQRanges(session, columns, wst_id); 109 loadQRanges(session, columns, wst_id);
110 List<WstValueTable.Row> rows = loadRows(session, wst_id, columns.length); 110 List<WstValueTable.Row> rows = loadRows(
111 session, wst_id, columns.length);
111 112
112 WstValueTable valueTable = new WstValueTable(columns, rows); 113 WstValueTable valueTable = new WstValueTable(columns, rows);
113 114
114 if (valueTable != null && cacheKey != null) { 115 if (valueTable != null && cacheKey != null) {
115 log.debug("Store wst value table in cache"); 116 log.debug("Store wst value table in cache");
147 148
148 // Fetch data for one column only. 149 // Fetch data for one column only.
149 150
150 WstValueTable.Column [] columns = loadColumn(session, wst_id, col_pos); 151 WstValueTable.Column [] columns = loadColumn(session, wst_id, col_pos);
151 loadQRanges(session, columns, wst_id, col_pos); 152 loadQRanges(session, columns, wst_id, col_pos);
152 List<WstValueTable.Row> rows = loadRowsOneColumn(session, wst_id, col_pos); 153 List<WstValueTable.Row> rows = loadRowsOneColumn(
154 session, wst_id, col_pos);
153 155
154 WstValueTable valueTable = new WstValueTable(columns, rows); 156 WstValueTable valueTable = new WstValueTable(columns, rows);
155 157
156 if (valueTable != null && cacheKey != null) { 158 if (valueTable != null && cacheKey != null) {
157 log.debug("Store wst value table in cache (wst: " 159 log.debug("Store wst value table in cache (wst: "

http://dive4elements.wald.intevation.org