[lsc-changes] r432 - lsc/trunk/src/main/java/org/lsc/utils

rschermesser at lsc-project.org rschermesser at lsc-project.org
Mon Nov 9 17:14:05 CET 2009


Author: rschermesser
Date: 2009-11-09 17:14:04 +0100 (Mon, 09 Nov 2009)
New Revision: 432

Modified:
   lsc/trunk/src/main/java/org/lsc/utils/FrenchFilters.java
Log:
Keep old method name for backward compatibility

Modified: lsc/trunk/src/main/java/org/lsc/utils/FrenchFilters.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/utils/FrenchFilters.java	2009-11-09 16:06:19 UTC (rev 431)
+++ lsc/trunk/src/main/java/org/lsc/utils/FrenchFilters.java	2009-11-09 16:14:04 UTC (rev 432)
@@ -294,6 +294,11 @@
 		}
 	}
 
+	@Deprecated
+	public static String filterPhones(final String phone2parse) {
+		return filterPhone(phone2parse);
+	}
+
 	/**
 	 * Uppercased all the words of a string
 	 *
@@ -427,6 +432,11 @@
 		return filterStringRegExp(name, REGEXP_CHARACTERS);
 	}
 
+	@Deprecated
+	public static String filterNomPatronymique(final String name) throws CharacterUnacceptedException {
+		return filterLastName(name);
+	}
+
 	/**
 	 * Filter a string to match a first name
 	 * 
@@ -440,6 +450,11 @@
 		return filterStringRegExp(name, REGEXP_FOR_FISRTNAME);
 	}
 
+	@Deprecated
+	public static String filterPrenomEtatCivil(final String name) throws CharacterUnacceptedException {
+		return filterFirstName(name);
+	}
+
 	/**
 	 * Filter a string to match a givenName
 	 * 



More information about the lsc-changes mailing list