Skip to content

Commit

Permalink
Fix typo in CONTRIBUTING.md and SpyOnInjectedFieldsHandler (#1994)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xh3xa committed Aug 27, 2020
1 parent 8007df7 commit 2828552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Expand Up @@ -48,7 +48,7 @@ Things we pay attention in a PR :

For that matter it's possible to commit [_semantic_ changes](http://lemike-de.tumblr.com/post/79041908218/semantic-commits). _Tests are an asset, so is history_.

_Exemple gratia_:
_Example gratia_:

```
Fixes #73 : The new feature
Expand Down
Expand Up @@ -33,7 +33,7 @@ public class SpyOnInjectedFieldsHandler extends MockInjectionStrategy {
protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) {
FieldReader fieldReader = new FieldReader(fieldOwner, field);

// TODO refoctor : code duplicated in SpyAnnotationEngine
// TODO refactor : code duplicated in SpyAnnotationEngine
if (!fieldReader.isNull() && field.isAnnotationPresent(Spy.class)) {
try {
Object instance = fieldReader.read();
Expand Down

0 comments on commit 2828552

Please sign in to comment.