comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java @ 88:1b12021905b9

Some CodeCleanup done. ExceptionDocument will now be returned gnv-artifacts/trunk@125 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 24 Sep 2009 10:45:24 +0000
parents 5d4f5d26bb7a
children b465f1bbe368
comparison
equal deleted inserted replaced
87:ce398a7a99fc 88:1b12021905b9
323 } 323 }
324 324
325 Iterator<KeyValueDescibeData> it = values.iterator(); 325 Iterator<KeyValueDescibeData> it = values.iterator();
326 while(it.hasNext()){ 326 while(it.hasNext()){
327 KeyValueDescibeData data = it.next(); 327 KeyValueDescibeData data = it.next();
328 if (id ==Integer.parseInt(data.getKey())){ // TODO just a hack 328 if (id ==Integer.parseInt(data.getKey())){
329 return data.getValue(); 329 return data.getValue();
330 } 330 }
331 } 331 }
332 return ""; 332 return "";
333 } 333 }

http://dive4elements.wald.intevation.org