Subject: ant API change
Description: ant > 1.9 update the getProperties() method
 to return a different type (Object instead of String).
 this patch modifies the method to manage objects.
Author: Olivier Sallou <osallou@debian.org>
Forwarded: yes
Bug: 15914
--- a/usr/share/biomaj/src/org/inria/biomaj/exe/bank/BankFactory.java
+++ b/usr/share/biomaj/src/org/inria/biomaj/exe/bank/BankFactory.java
@@ -384,7 +384,7 @@
 		return value;
 	}
 
-	public static String getRecursiveProperty(Hashtable<String, String> prop,String keyOrigine) throws BiomajException {
+	public static String getRecursiveProperty(Hashtable<String, Object> prop,String keyOrigine) throws BiomajException {
 
 		if ((prop == null)||(keyOrigine == null))
 			throw new BiomajException("error.dev","Properties data are not set.");
@@ -392,11 +392,11 @@
 		if (!prop.containsKey(keyOrigine)) {
 			String name = "";
 			if (prop.containsKey(BiomajConst.dbNameProperty))
-				name = prop.get(BiomajConst.dbNameProperty);
+				name = (String) prop.get(BiomajConst.dbNameProperty);
 			throw new BiomajException("biomaj.property.define.error",name,keyOrigine);
 		}
 
-		String value = prop.get(keyOrigine);
+		String value = (String) prop.get(keyOrigine);
 
 
 		if (value.startsWith("${"))
