Лялюшкин - Лабораторная работа #2

That's very strange, because I've in @bysheva code such method was implemented in Components class without implementing hashCode. Try change return value from boolean to Boolean.