added project compliance with java 1.7