Update SimpleDataSource to make the code compile in JDK7