-
Notifications
You must be signed in to change notification settings - Fork 65
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
Address the issue #796 #798
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,10 @@ public abstract class Snapshot { | |
* | ||
* @return an array of {@link HistogramBucket} if it is available or an empty array if not available | ||
*/ | ||
public abstract HistogramBucket[] bucketValues(); | ||
@aQute.bnd.annotation.baseline.BaselineIgnore("5.2") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My mistake. the "5.2" is also a reasonable future version of MP Metrics to specify.
I know that is the version of the plug-in being used, but the Javadoc for the
|
||
public HistogramBucket[] bucketValues() { | ||
return new HistogramBucket[0]; | ||
}; | ||
|
||
/** | ||
* Writes the values of the snapshot to the given stream. | ||
|
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.
IIUC this dependency needed to process the new use of the
@BaselineIgnore
annotation in the source code.The annotation has retention
CLASS
(notRUNTIME
) so there is no runtime detection of the annotation.Perhaps, therefore, this dependency should have scope
provided
to avoid the plug-in bleeding into the runtime class path of anything that depends on the MP Metrics API component.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 cloned Emily's fork and tried to push a commit to the fix branch to add
<scope>provided</scope>
but I do not have permission to write.