Fixed qafedatasource so it can build with jdk7 and datasource 1.6