forked from organicveggie/metrics-statsd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various cleanups, mostly related to checkstyle.
Build changes: * Made the build task the default from the main directory. * Minor formatting changes for clarity. * Made findbugs work only on the main source set for the moment. * Enabled showWarnings for checkstyle for metrics3 so that people won't ignore it. Checkstyle-related changes: * Made the project conform to the checkstyle format defined. * Modified the defined format to add warning suppression with comments. * Modified the defined format to remove the FinalClass check, since it wasn't relevant for this project. Other changes: * Project was double-reporting all IOExceptions at different warning levels. This has been corrected. * Silenced warnings when gauges aren't numbers. This fits with the standard by the Graphite reporter. * Added supported for BigInteger and BigDecimal. * Made the tests more permissive (they were testing that p95 was reported before p99, and really statsd doesn't care at that level of detail). Now they are less implementation-specific. * Named the logger consistently between files. * Added a basic set of JSR305 annotations.
- Loading branch information
David H. Clements
committed
Jun 15, 2013
1 parent
404d718
commit 8dbbe33
Showing
8 changed files
with
167 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
version = '3.0.0-SNAPSHOT' | ||
|
||
dependencies { | ||
provided 'com.codahale.metrics:metrics-core:3.0.0' | ||
provided ( | ||
'com.codahale.metrics:metrics-core:3.0.0' | ||
) | ||
} | ||
|
||
checkstyle { | ||
showViolations = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.