Minor householding
- Remove getter for NewSetting - Reduce visibility of classes used by DelayedRunner
This commit is contained in:
@@ -10,7 +10,7 @@ import java.lang.reflect.Method;
|
||||
/**
|
||||
* Contains all necessary information to initialize a {@link InjectDelayed} field.
|
||||
*/
|
||||
public class PendingInjection {
|
||||
class PendingInjection {
|
||||
|
||||
private Field field;
|
||||
private Object[] dependencies;
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
* after Mockito's @Mock, @Spy and @InjectMocks have taken effect,
|
||||
* but before {@link InjectDelayed} fields are handled.
|
||||
*/
|
||||
public class RunBeforeInjectings extends Statement {
|
||||
class RunBeforeInjectings extends Statement {
|
||||
|
||||
private final Statement next;
|
||||
private final List<FrameworkMethod> beforeInjectings;
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.List;
|
||||
* Statement for initializing {@link InjectDelayed} fields. These fields are
|
||||
* constructed after {@link BeforeInjecting} and before JUnit's @Before.
|
||||
*/
|
||||
public class RunDelayedInjects extends Statement {
|
||||
class RunDelayedInjects extends Statement {
|
||||
|
||||
private final Statement next;
|
||||
private final Object target;
|
||||
|
||||
Reference in New Issue
Block a user