GitHub user grkvlt opened a pull request:
https://github.com/apache/brooklyn-server/pull/249
Return when PercentageEnricher cannot compute result
Does not pollute `INFO` log with exception stack traces. Also replaces
check for zero with a `DoubleMath.fuzzyCompare()` call using an epsilon of
1x10^-12 to allow for floating point inaccuracies.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grkvlt/brooklyn-server
percentage-enricher-return-not-npe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/249.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #249
----
commit cf5f6c58e441932797a47de44fb2d924c450f532
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-11T19:17:26Z
Return when PercentageEnricher cannot compute result instead of throwing
exception
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---