Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/FieldVerifier.java @ 615:ba1b27b7d282
Removed trailing whitespace.
flys-client/trunk@2244 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 26 Jun 2011 17:20:57 +0000 |
parents | 4e8be5e7855f |
children |
comparison
equal
deleted
inserted
replaced
614:80626c4a5bbf | 615:ba1b27b7d282 |
---|---|
22 */ | 22 */ |
23 public class FieldVerifier { | 23 public class FieldVerifier { |
24 | 24 |
25 /** | 25 /** |
26 * Verifies that the specified name is valid for our service. | 26 * Verifies that the specified name is valid for our service. |
27 * | 27 * |
28 * In this example, we only require that the name is at least four | 28 * In this example, we only require that the name is at least four |
29 * characters. In your application, you can use more complex checks to ensure | 29 * characters. In your application, you can use more complex checks to ensure |
30 * that usernames, passwords, email addresses, URLs, and other fields have the | 30 * that usernames, passwords, email addresses, URLs, and other fields have the |
31 * proper syntax. | 31 * proper syntax. |
32 * | 32 * |
33 * @param name the name to validate | 33 * @param name the name to validate |
34 * @return true if valid, false if invalid | 34 * @return true if valid, false if invalid |
35 */ | 35 */ |
36 public static boolean isValidName(String name) { | 36 public static boolean isValidName(String name) { |
37 if (name == null) { | 37 if (name == null) { |