Update ResourcesCheck.java