[CommentLinkInfo] Simplify hashCode()
Change-Id: Ibb9fdbb00934a420e900a17a110d4134a0b72d2d
This commit is contained in:
		| @@ -41,15 +41,6 @@ public class CommentLinkInfo { | |||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|   public int hashCode() { |   public int hashCode() { | ||||||
|     int h = 1; |     return Objects.hash(match, link, html, enabled); | ||||||
|     h *= 1000003; |  | ||||||
|     h ^= (this.match == null) ? 0 : this.match.hashCode(); |  | ||||||
|     h *= 1000003; |  | ||||||
|     h ^= (this.link == null) ? 0 : this.link.hashCode(); |  | ||||||
|     h *= 1000003; |  | ||||||
|     h ^= (this.html == null) ? 0 : this.html.hashCode(); |  | ||||||
|     h *= 1000003; |  | ||||||
|     h ^= (this.enabled == null) ? 0 : this.enabled.hashCode(); |  | ||||||
|     return h; |  | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Hector Oswaldo Caballero
					Hector Oswaldo Caballero