Skip to content
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

Removed private constructor to allow Params customization #226

Closed
wants to merge 1 commit into from

Conversation

Starmel
Copy link

@Starmel Starmel commented Feb 10, 2021

No description provided.

@CLAassistant
Copy link

CLAassistant commented Feb 10, 2021

CLA assistant check
All committers have signed the CLA.

@Starmel
Copy link
Author

Starmel commented Feb 10, 2021

@matzuk

@@ -9,7 +9,7 @@ import junit.framework.AssertionFailedError
* The class that holds all the necessary for [com.kaspersky.kaspresso.autoscroll.AutoScrollProviderImpl] and
* [com.kaspersky.kaspresso.autoscroll.WebAutoScrollProviderImpl] parameters.
*/
class AutoScrollParams private constructor(
class AutoScrollParams(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Starmel!
Thank you for your contribution!
Observing other such classes (ContinuouslyParams.kt, FlakySafetyParams.kt), I suggest adding a factory method instead of making the constructor public.

@matzuk
Copy link
Member

matzuk commented Oct 17, 2021

done in #290

@matzuk matzuk closed this Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants