comparison gnv-artifacts/src/main/java/de/intevation/gnv/utils/InputValidator.java @ 461:3ddc22aab764

Removed Encodingerrors from listed Files. All Files are now UTF-8 compliant. ISSUE137 gnv-artifacts/trunk@515 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 08 Jan 2010 14:27:49 +0000
parents f1e7ddeef5bc
children 1efb6a66c7d9
comparison
equal deleted inserted replaced
460:bdbca6022cf5 461:3ddc22aab764
119 119
120 double x=0,y=0; 120 double x=0,y=0;
121 log.info("Position :"+value); 121 log.info("Position :"+value);
122 s = value.split(" "); 122 s = value.split(" ");
123 if (s.length != 2) { 123 if (s.length != 2) {
124 throw new ValidationException("Kein Blank separiert Breite und Länge"); 124 throw new ValidationException("Kein Blank separiert Breite und Länge");
125 } 125 }
126 p = s[0].split("[nNsS]"); 126 p = s[0].split("[nNsS]");
127 try { 127 try {
128 if (p.length == 1) 128 if (p.length == 1)
129 y = new Double(p[0]); 129 y = new Double(p[0]);

http://dive4elements.wald.intevation.org