Merge "Fix unchecked cast warning"
diff --git a/dblib/provider/src/main/java/org/openecomp/sdnc/sli/resource/dblib/jdbc/JdbcDbResourceManagerFactory.java b/dblib/provider/src/main/java/org/openecomp/sdnc/sli/resource/dblib/jdbc/JdbcDbResourceManagerFactory.java
index 0afb621..84399df 100644
--- a/dblib/provider/src/main/java/org/openecomp/sdnc/sli/resource/dblib/jdbc/JdbcDbResourceManagerFactory.java
+++ b/dblib/provider/src/main/java/org/openecomp/sdnc/sli/resource/dblib/jdbc/JdbcDbResourceManagerFactory.java
@@ -55,11 +55,11 @@
 
 	}
 
-	class MyFutureTask extends FutureTask<DBInitTask>
+	class MyFutureTask extends FutureTask<CachedDataSource>
 	{
 
 		public MyFutureTask(Callable<CachedDataSource> result) {
-			super((Callable)result);
+			super(result);
 		}
 
 	}
@@ -87,7 +87,7 @@
 		// here create the data sources objects
 		JDBCConfiguration[] list = dbConfig.getJDBCbSourceArray();
 
-		FutureTask<DBInitTask>[] futures = new MyFutureTask[list.length];
+		MyFutureTask[] futures = new MyFutureTask[list.length];
 		final Set<DBInitTask> tasks = new HashSet<DBInitTask>();
 		if(LOGGER.isDebugEnabled()) {
 			LOGGER.debug("Creating " + list.length + " datasources.");