Skip to content

Commit

Permalink
Fix for private members
Browse files Browse the repository at this point in the history
  • Loading branch information
bageshwar committed Jun 2, 2022
1 parent 12b6426 commit c815212
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class InjectDataGuiceMembersInjector<T> implements MembersInjector<T> {

public void setField(Field field) {
this.field = field;
this.field.setAccessible(true);
}

public void setInjectionName(String injectionName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,24 +215,24 @@ static class SimpleData {

static class SimpleInterface {
@InjectData
SimpleData simpleData;
private SimpleData simpleData;
@InjectData
Long threadId;
private Long threadId;
}


static class SimpleInterface2 implements Serializable {
@InjectData
SimpleData simpleData;
private SimpleData simpleData;
@InjectData
Long threadId;
private Long threadId;
}

@TefRequestScoped
static class SimpleInterface3 {
@InjectData
SimpleData simpleData;
private SimpleData simpleData;
@InjectData
Long threadId;
private Long threadId;
}
}

0 comments on commit c815212

Please sign in to comment.