-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New API org.jacoco.core.tools #159
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
Conversation
Java Code Coverage Tools » jacoco #155 SUCCESS |
* <code>reset==false</code>, <code>retryCount==0</code> and | ||
* <code>retryDelay=1000</code>. | ||
*/ | ||
public ExecDumpClient() { |
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.
I would like to see another constructor with all arguments given to make them final instead of providing setters. The only advantage of using setters here is that you may not mix arguments unintentionally.
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.
While I'm also a fan of immutable objects I prefer this solution here for the following reasons:
- Avoid too many parameters for an constructor
- provide out-of-the box default behavior
- extensible API for additional attributes in future.
Java Code Coverage Tools » jacoco #156 SUCCESS |
I really like the |
@mfriedenhagen Thanks for reviewing this! |
Create new API package org.jacoco.core.tools for high level tools shared by different JaCoCo integrations.