修改Resource中equal方法错误