added some casts for Java 6 compatibility
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop
minor fix (a cast) for ant compile error under Java6