Added copyright notice in Java source files