comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation.java @ 5786:470460bfb5fc

issue1289: Show km station with certain error message.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 23 Apr 2013 10:40:45 +0200
parents 32bd5af17eda
children
comparison
equal deleted inserted replaced
5785:d38004f0c52f 5786:470460bfb5fc
90 90
91 public Calculation(String msg) { 91 public Calculation(String msg) {
92 addProblem(msg); 92 addProblem(msg);
93 } 93 }
94 94
95 /** New Calculation with error which can be translated given args. */
96 public Calculation(String msg, Object ... args) {
97 addProblem(msg, args);
98 }
99
95 protected List<Problem> checkProblems() { 100 protected List<Problem> checkProblems() {
96 if (problems == null) { 101 if (problems == null) {
97 problems = new ArrayList<Problem>(); 102 problems = new ArrayList<Problem>();
98 } 103 }
99 return problems; 104 return problems;

http://dive4elements.wald.intevation.org