-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use JsonUtil.getJsonX more often (#10071)
* Update MetricsUtilTest classifiers * Add private MetricsUtil constructor * Make public static field also final This looks like it should have been final * Use Java's standard order of field classifiers * Use empty diamond with generic constructors * Return value directly * Put long notes at top of javadoc * Call JsonUtil.getJsonX to prevent resource leak And add javadoc to the methods * Test StringToJsonX returns null on null
- Loading branch information
Showing
2 changed files
with
58 additions
and
44 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