Skip to content

Commit

Permalink
Fix double objection typo
Browse files Browse the repository at this point in the history
Fixes #1624

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=312122193
  • Loading branch information
davido authored and cgdecker committed May 20, 2020
1 parent 230ad26 commit 3d78433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bugpattern/EqualsGetClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Such code should be modified to use an `instanceof` test instead of `getClass`.

TL;DR: use composition rather than inheritance to add fields to value types.

The most common objection objection to this rule arises from a scenario like the
The most common objection to this rule arises from a scenario like the
following:

```
Expand Down

0 comments on commit 3d78433

Please sign in to comment.