Update CheckDuplication.java