Java code transferred from old project