comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java @ 4805:722b4962e30e

Comment/doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 16 Jan 2013 11:38:06 +0100
parents c1df0dac140b
children ad9f1bdd51ba
comparison
equal deleted inserted replaced
4804:e9566109bd5b 4805:722b4962e30e
186 186
187 Matcher m = VAR.matcher(original); 187 Matcher m = VAR.matcher(original);
188 188
189 int index = 0; 189 int index = 0;
190 190
191 // Find variables like ${varname}.
191 while (m.find()) { 192 while (m.find()) {
192 String key = m.group(1).toUpperCase(); 193 String key = m.group(1).toUpperCase();
193 List<Integer> indices = positions.get(key); 194 List<Integer> indices = positions.get(key);
194 if (indices == null) { 195 if (indices == null) {
195 indices = new ArrayList<Integer>(); 196 indices = new ArrayList<Integer>();

http://dive4elements.wald.intevation.org