comparison gnv-artifacts/src/main/java/de/intevation/gnv/utils/InputValidator.java @ 803:feae2f9d6c6f

Removed trailing whitespace. gnv-artifacts/trunk@885 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 07 Apr 2010 07:52:27 +0000
parents 6cd8492019d8
children 2cea76f1112e
comparison
equal deleted inserted replaced
802:4abe172be970 803:feae2f9d6c6f
64 } 64 }
65 65
66 public static boolean isInputValid(String input, String type) { 66 public static boolean isInputValid(String input, String type) {
67 log.debug("InputValidator.isInputValid " + input + " " + type); 67 log.debug("InputValidator.isInputValid " + input + " " + type);
68 68
69 // Let's check polygons and linestrings first, because they might 69 // Let's check polygons and linestrings first, because they might
70 // contain comma. A splitting at comma characters wouldn't be good here. 70 // contain comma. A splitting at comma characters wouldn't be good here.
71 if ("Polygon".equalsIgnoreCase(type) || "Linestring".equalsIgnoreCase(type)) 71 if ("Polygon".equalsIgnoreCase(type) || "Linestring".equalsIgnoreCase(type))
72 { 72 {
73 try { 73 try {
74 WKTReader reader = new WKTReader(); 74 WKTReader reader = new WKTReader();

http://dive4elements.wald.intevation.org