-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace com.google.common.base.MoreObjects.firstNonNull & com.google.common.base.Preconditions.checkArgument by Java alternatives #2228
Conversation
… com.google.common.base.Preconditions.checkArgument
… com.google.common.base.Preconditions.checkArgument
… com.google.common.base.Preconditions.checkArgument
… com.google.common.base.Preconditions.checkArgument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes because of API changes that do not seem to be related to the PRs purpose, or justified otherwise. Let's do them separately at least. There is also a bunch of other refactorings, but I do not mind
@@ -27,7 +27,7 @@ public abstract class AbstractScenarios implements Scenarios { | |||
|
|||
private final ScenariosStore store; | |||
|
|||
public AbstractScenarios(ScenariosStore store) { | |||
protected AbstractScenarios(ScenariosStore store) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert? Seems to be a legit API
@@ -48,7 +48,7 @@ public abstract class AbstractStubMappings implements StubMappings { | |||
protected final List<StubLifecycleListener> stubLifecycleListeners; | |||
protected final StubMappingStore store; | |||
|
|||
public AbstractStubMappings( | |||
protected AbstractStubMappings( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legit API?
@oleg-nenashev |
Is it still actual? |
Proposal. Replacing com.google.common.base.MoreObjects.firstNonNull & com.google.common.base.Preconditions.checkArgument
References
#2111
Submitter checklist