Adding apache license to java file.